diff options
author | chenshuai@huawei.com <chenshuai@huawei.com> | 2016-07-14 06:16:22 -0400 |
---|---|---|
committer | chenshuai@huawei.com <chenshuai@huawei.com> | 2016-07-14 06:42:33 -0400 |
commit | 1dde11d3b422f1c649244078c2b2ef945b0a0e2c (patch) | |
tree | d187c94efd52ebc3424eb3fc42c9aaaa36fa3281 /deploy/adapters/cobbler | |
parent | a120380019a226fea98588256c6e5df02b3b352a (diff) |
Support Ubuntu 14.04 and Ubuntu 16.04 in one ISO
JIRA: COMPASS-431
Change-Id: I3134b558835081e04d29a666f5d3d79486b2c7a9
Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
Diffstat (limited to 'deploy/adapters/cobbler')
-rw-r--r-- | deploy/adapters/cobbler/snippets/preseed_post_anamon | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/deploy/adapters/cobbler/snippets/preseed_post_anamon b/deploy/adapters/cobbler/snippets/preseed_post_anamon index 6d889bb7..76bbfad4 100644 --- a/deploy/adapters/cobbler/snippets/preseed_post_anamon +++ b/deploy/adapters/cobbler/snippets/preseed_post_anamon @@ -66,6 +66,7 @@ cat << EOF > /etc/init.d/set_state # Description: set_state runs the first time a machine is booted after # installation. #end raw +sleep 100 wget -O /tmp/os_state --post-data='{"ready": true}' --header=Content-Type:application/json "http://$srv/api/hosts/${hostname}/state_internal" update-rc.d -f set_state remove mv /etc/init.d/set_state /tmp/set_state |