Change to dhcp from static. DHCP is need because creation of bond interface disable link interface which causing lost of connectivity to repository. Some behavior must changed because it was working before...
From: Jiri Konecny jkonecny@redhat.com
Change to dhcp from static. DHCP is need because creation of bond interface disable link interface which causing lost of connectivity to repository. Some behavior must changed because it was working before... --- tests/kickstart_tests/bond.ks | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-)
diff --git a/tests/kickstart_tests/bond.ks b/tests/kickstart_tests/bond.ks index c93c240..5f4f3aa 100644 --- a/tests/kickstart_tests/bond.ks +++ b/tests/kickstart_tests/bond.ks @@ -3,7 +3,7 @@ install network --device=link --bootproto=dhcp
# Create testing bond interface -network --device=bond0 --bootproto=static --bondslaves=link --ip=192.168.1.1 --netmask=255.255.252.0 --gateway=192.168.1.2 --nameserver=192.168.1.3 --activate +network --device=bond0 --bootproto=dhcp --bondslaves=link --activate
bootloader --timeout=1 zerombr @@ -44,24 +44,9 @@ if [[ $? -ne 0 ]]; then echo '*** ONBOOT is not present' >> /root/RESULT fi
-grep -q '^IPADDR=192.168.1.1$' $IF_FILE +grep -q '^BOOTPROTO=dhcp$' $IF_FILE if [[ $? -ne 0 ]]; then - echo '*** IPADDR is not present' >> /root/RESULT -fi - -grep -q '^PREFIX=22$' $IF_FILE -if [[ $? -ne 0 ]]; then - echo '*** PREFIX is not present' >> /root/RESULT -fi - -grep -q '^GATEWAY=192.168.1.2$' $IF_FILE -if [[ $? -ne 0 ]]; then - echo '*** GATEWAY is not present' >> /root/RESULT -fi - -grep -q '^DNS1=192.168.1.3$' $IF_FILE -if [[ $? -ne 0 ]]; then - echo '*** DNS1 is not present' >> /root/RESULT + echo '*** BOOTPROTO is not present' >> /root/RESULT fi
# No error was written to /root/RESULT file, everything is OK
Added label: master.
Looks good to me.
Added label: ACK.
Closed.
Pushed
anaconda-patches@lists.fedorahosted.org