summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarry Huang <huangxiangyu5@huawei.com>2017-06-24 16:05:44 +0800
committerHarry Huang <huangxiangyu5@huawei.com>2017-06-24 16:10:28 +0800
commit2c4925a0f3edbd37fbba44319a14e336f3c33bd1 (patch)
treef377879f2cc887bdaa2af7298d6711ff2a191540
parent4e17e4eaff91f0551fa57daab4c7ad11edce8863 (diff)
Install network pkgs during OS installation
Before network is setup, host can't access to internet. Install bridge-utils, ifenslave and vlan when cobbler managing OS installation so when network restart all pkgs needed is ready. Change-Id: Idaa880ed0abfb50f417d67fe55e964992a185c80 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
-rw-r--r--deploy/adapters/cobbler/kickstarts/default16.seed2
-rw-r--r--deploy/adapters/cobbler/snippets/preseed_software_ansible2
2 files changed, 2 insertions, 2 deletions
diff --git a/deploy/adapters/cobbler/kickstarts/default16.seed b/deploy/adapters/cobbler/kickstarts/default16.seed
index af6c9c39..660d6b30 100644
--- a/deploy/adapters/cobbler/kickstarts/default16.seed
+++ b/deploy/adapters/cobbler/kickstarts/default16.seed
@@ -108,7 +108,7 @@ $SNIPPET('preseed_apt_repo_config')
#set $preseed_software = "preseed_software_%s" % $tool
$SNIPPET($preseed_software)
#else
-d-i pkgsel/include string ntp ssh wget
+d-i pkgsel/include string ntp ssh openssh-server wget vim bridge-utils ifenslave vlan
#end if
# Whether to upgrade packages after debootstrap.
diff --git a/deploy/adapters/cobbler/snippets/preseed_software_ansible b/deploy/adapters/cobbler/snippets/preseed_software_ansible
index 5516c893..2bd1a91f 100644
--- a/deploy/adapters/cobbler/snippets/preseed_software_ansible
+++ b/deploy/adapters/cobbler/snippets/preseed_software_ansible
@@ -1 +1 @@
-d-i pkgsel/include string ntp ssh openssh-server wget vim ifenslave
+d-i pkgsel/include string ntp ssh openssh-server wget vim bridge-utils ifenslave vlan