[PATCH 2/5] Add a network command to the various kickstart test ks files.

Chris Lumens clumens at redhat.com
Thu Dec 18 16:55:38 UTC 2014


Don't take it for granted that the network will automatically come up.
---
 tests/kickstart_tests/basic-ostree.ks      | 2 ++
 tests/kickstart_tests/groups-and-envs-1.ks | 1 +
 2 files changed, 3 insertions(+)

diff --git a/tests/kickstart_tests/basic-ostree.ks b/tests/kickstart_tests/basic-ostree.ks
index 0a5b3fa..b2dc374 100644
--- a/tests/kickstart_tests/basic-ostree.ks
+++ b/tests/kickstart_tests/basic-ostree.ks
@@ -1,5 +1,7 @@
 # Substitute something in for REPO or this will all come crashing down.
 ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=REPO --ref=fedora-atomic/rawhide/x86_64/base/core
+install
+network --bootproto=dhcp
 
 bootloader --timeout=1
 zerombr
diff --git a/tests/kickstart_tests/groups-and-envs-1.ks b/tests/kickstart_tests/groups-and-envs-1.ks
index 045ef45..500ea08 100644
--- a/tests/kickstart_tests/groups-and-envs-1.ks
+++ b/tests/kickstart_tests/groups-and-envs-1.ks
@@ -1,5 +1,6 @@
 url --url=http://dl.fedoraproject.org/pub/fedora/linux/development/$releasever/$basearch/os/
 install
+network --bootproto=dhcp
 
 bootloader --timeout=1
 zerombr
-- 
1.9.3



More information about the anaconda-patches mailing list