aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/cobbler
diff options
context:
space:
mode:
authorHarry Huang <huangxiangyu5@huawei.com>2017-11-14 12:16:08 +0800
committerYifei Xue <xueyifei@huawei.com>2017-12-06 07:20:35 +0000
commit179ef51116c86a6a68a3e963ba5a02d72552b776 (patch)
tree1f0eb33ce84de5e3c7b756695f4f68861efede48 /deploy/adapters/cobbler
parent2d9022a663ec99102c86a1c6efffe20b99495b02 (diff)
Fix centos kickstart_done snippet
Bug: CentOS-7-Minimal-1611-x86_64 image doesn't contain wget package and kickstart_done snippet use wget to call cobbler api to set netboot enable to false. This way if host installed centos which is not set to boot from disk will stuck in pxe loop Solution: Use curl instead of wget in kickstart_done Change-Id: I0414adab72047a367b7cb15fe6a5537c76234972 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com> (cherry picked from commit 08a15a8dae520e2b02748a34ff1ec034ee6806b9)
Diffstat (limited to 'deploy/adapters/cobbler')
-rw-r--r--deploy/adapters/cobbler/snippets/kickstart_done2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/adapters/cobbler/snippets/kickstart_done b/deploy/adapters/cobbler/snippets/kickstart_done
index 2a936adb..aafcd76f 100644
--- a/deploy/adapters/cobbler/snippets/kickstart_done
+++ b/deploy/adapters/cobbler/snippets/kickstart_done
@@ -17,7 +17,7 @@
## PXE JUST ONCE
#if $pxe_just_once in [ "1", "true", "yes", "y" ]
#if $breed == 'redhat'
- #set nopxe = "\nwget \"http://%s/cblr/svc/op/nopxe/system/%s\" -O /var/log/nopxe" % (srv, system_name)
+ #set nopxe = "\ncurl \"http://%s/cblr/svc/op/nopxe/system/%s\" -O /var/log/nopxe" % (srv, system_name)
#else if $breed == 'vmware' and $os_version == 'esx4'
#set nopxe = "\ncurl \"http://%s/cblr/svc/op/nopxe/system/%s\" -o /var/log/nopxe" % (srv, system_name)
#else if $breed == 'vmware'