Hopefully correct fix.

Only set interface stuff if IP is defined. Otherwise allow
boot2docker’s default dhcp kick in.