- set BOOTPROTO=static if any IPADDR/IP6ADDR was passed to
hv_set_ifconfig and dhcp is disabled OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=61
This commit is contained in:
parent
d58ac4b8e0
commit
ea11bf351a
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 24 10:18:34 CEST 2013 - ohering@suse.de
|
||||
|
||||
- set BOOTPROTO=static if any IPADDR/IP6ADDR was passed to
|
||||
hv_set_ifconfig and dhcp is disabled
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 15 16:16:06 CEST 2013 - ohering@suse.de
|
||||
|
||||
|
@ -95,6 +95,9 @@ fi
|
||||
if test "${BOOTPROTO}" = "dhcp"
|
||||
then
|
||||
echo "BOOTPROTO=dhcp"
|
||||
elif test -n "${!IPADDR*}${!IPV6ADDR*}"
|
||||
then
|
||||
echo "BOOTPROTO=static"
|
||||
fi
|
||||
# single index for all ipv4 and ipv6 adresses in final ifcfg file
|
||||
i=0
|
||||
|
Loading…
Reference in New Issue
Block a user