aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters
diff options
context:
space:
mode:
authorHarry Huang <huangxiangyu5@huawei.com>2017-11-14 12:16:08 +0800
committerHarry Huang <huangxiangyu5@huawei.com>2017-11-14 12:16:08 +0800
commit08a15a8dae520e2b02748a34ff1ec034ee6806b9 (patch)
tree53f48db4798863e67c37b36460d2d84355dd4286 /deploy/adapters
parent80d496b43d43068f12a45bfc0147ccdce9dac794 (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>
Diffstat (limited to 'deploy/adapters')
-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'