Fix centos kickstart_done snippet 45/48445/1
authorHarry Huang <huangxiangyu5@huawei.com>
Tue, 14 Nov 2017 04:16:08 +0000 (12:16 +0800)
committerYifei Xue <xueyifei@huawei.com>
Wed, 6 Dec 2017 07:20:35 +0000 (07:20 +0000)
commit179ef51116c86a6a68a3e963ba5a02d72552b776
tree1f0eb33ce84de5e3c7b756695f4f68861efede48
parent2d9022a663ec99102c86a1c6efffe20b99495b02
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)
deploy/adapters/cobbler/snippets/kickstart_done