minishift / minishift-centos-iso

CentOS based ISO as an alternative for boot2docker ISO
GNU Lesser General Public License v3.0
40 stars 33 forks source link

Issue #137 Set IP Address using hvkvp or settings file #154

Closed gbraad closed 6 years ago

gbraad commented 7 years ago

Settings are set on startup using hvkvp using https://github.com/minishift/minishift/pull/1391, or using a configuration file.

/var/lib/minishift/networking

DEVICE=eth0
IPADDR=10.0.75.128
NETMASK=24
GATEWAY=10.0.75.1
DNS1=8.8.8.8
DNS2=8.8.4.4

This would allow Minishift to assign a static IP address to the instance.

Note: DHCP is still enabled, as this is a fallback option. The assigned IP address is then a secondary address on the chosen device.