donderdag 19 april 2012

Assigning static ip addresses in VMWare Fusion

I'm using VMWare Fusion on my laptop, even though I regret not being able to use the power of Vagrant with VirtualBox, the combination with puppet suits allows me to do reach something similar.
However latest releases of Fusion seemed to have forgotten about the boot.sh which allowed you to restart your the vm's DHCP server after assigning static ip's to some mac addresses.

Apparently the new approach is:

/Applications/VMware Fusion.app/Contents/Library/services.sh --stop
/Applications/VMware Fusion.app/Contents/Library/services.sh --start
and yes, just a shell script to restart your dhcpd or sending a signal would have been better, but the extensions need to be loaded in a certain order apparently.