minishift / minishift-b2d-iso

ISO based on Boot2Docker for Minishift
Apache License 2.0
9 stars 13 forks source link

Add script to allow IP address to be assigned #59

Open gbraad opened 7 years ago

gbraad commented 7 years ago

Updated

The issue is with how the B2D image handles the hyper-v data exchange module, which is part of the kernel. Since b2d uses a module, the values are not available in time to provide an IP address before DHCP has assigned one. The module seems to read the pool and clears the values? At least, while the WMI call as used in gbraad/go-hvkvp is received and confirmed, the value is not available, even after the module is loaded. It is therefore needed to resend the message several times... and there is no indication if the call actually succeeds.

Todo

Refer: https://github.com/minishift/minishift/issues/1316

gbraad commented 7 years ago

Extension is available at: http://files.gbraad.nl/hvkvp/

gbraad commented 7 years ago

Testing with #61

gbraad commented 7 years ago

Want to be able to force an IP address using a file, such as network and network-scripts works. In our case, the file will have to reside on /mnt/sda1/etc/???

gbraad commented 7 years ago

blocker: pool gets cleared on start boot2docker/boot2docker#1274 workaround does not provide a good enough experience (needs to disable IPv6)