Closed gbraad closed 6 years ago
Testing on VirtualBox with the following configuration files:
cat /var/lib/minishift/networking-eth0
DEVICE=eth0
USEDHCP=y
cat /var/lib/minishift/networking-eth1
DEVICE=eth1
IPADDR=192.168.235.100
NETMASK=24
GATEWAY=192.168.235.1
DNS1=8.8.8.8
DNS2=8.8.4.4
Should also allow to use DHCP on multiple interfaces
cat /var/lib/minishift/networking-eth1
DEVICE=eth1
USEDHCP=y
Forcing assignment of the address by DHCP on both network interfaces; eth0
and eth1
, as it is easier for us to et device information from the lease file.
Have to store the initial config as part of the userdata as /var/lib/minishift
gets removed on initial startup
dhclient
messes up the DNS configuration when used as two different interfaces. Need to check how NM handles this (up script?). At the moment it only registers DNS for the last device 192.168.42.1
, while 192,168.122.1
actually provides NAT.
Modifications to /usr/sbin/dhclient-script
were needed to keep the old nameservers.
Added support for
DISABLED=y
@praveenkumar This needs testing for RHEL, as it also includes the #191 patches.
@anjannath added a $DEVICE
existence check, but the issue actually comes from Minishift
@praveenkumar updated with ${hvkvp_repo_url}
retest this please
retest this please
09:24:25 Error starting the cluster: Error attempting to download and cache oc: Cannot download OpenShift release asset 5165547: GET https://api.github.com/repos/openshift/origin/releases/assets/5165547: 403 API rate limit exceeded for 8.43.84.199. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.); rate reset in 10m49.649007513s
retest this please
@gbraad , this PR https://github.com/minishift/minishift-centos-iso/pull/196 is passing now
@gbraad , Please rebase your PR. I have merged https://github.com/minishift/minishift-centos-iso/pull/195
pushed
Fixes #180, #191
Needed for allow multiple network configuration files: https://github.com/minishift/minishift/issues/1457
Signed-off-by: Gerard Braad me@gbraad.nl