On Wed, 18 Mar 2009, Laurens Vets wrote:
Laurens Vets wrote:
Alexandre Verriere wrote:
This can be achieved with FreeBSD compt turned on this way:
halt the obsd guest then set his type to freebsd and back up install the
vmware tools:
mount /dev/cd0c /mnt
tar -xzf /mnt/vmware-freebsd-tools.tar.gz -C /tmp
mkdir -p /emul/freebsd/sbin
install -m 555 -o root -g wheel
/tmp/vmware-tools-distrib/lib/sbin32/vmware-guestd /emul/freebsd/sbin
cp -r /tmp/vmware-tools-distrib/etc /etc/vmware-tools
then tune your sysctl.conf
kern.emul.freebsd=1
Add this one to your rc.local:
if [ -x /emul/freebsd/sbin/vmware-guestd ]; then
echo -n ' vmware-tools'
/emul/freebsd/sbin/vmware-guestd --background
/var/run/vmware-guestd.pid --halt-command "/sbin/shutdown -p -h now"
fi
Now you can use vmware scripts to automate power management of your vm.
Hope this helps.
Doesn't work for me. Vmware-guestd doesn't want to run and the message
"Abort trap" is printed...
Btw, this is on OpenBSD 4.4 i386 and VMware Server 2.0
This works no longer with VMWare Server 2.0. With 1.0.8 you were fine with
that method.
Kind regards,
Markus