From 1dde11d3b422f1c649244078c2b2ef945b0a0e2c Mon Sep 17 00:00:00 2001 From: "chenshuai@huawei.com" Date: Thu, 14 Jul 2016 06:16:22 -0400 Subject: Support Ubuntu 14.04 and Ubuntu 16.04 in one ISO JIRA: COMPASS-431 Change-Id: I3134b558835081e04d29a666f5d3d79486b2c7a9 Signed-off-by: chenshuai@huawei.com --- deploy/adapters/cobbler/snippets/preseed_post_anamon | 1 + 1 file changed, 1 insertion(+) (limited to 'deploy/adapters') 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 -- cgit 1.2.3-korg