summaryrefslogtreecommitdiffstats
path: root/compass-cobbler/start.sh
diff options
context:
space:
mode:
authorHarry Huang <huangxiangyu5@huawei.com>2017-11-01 15:41:37 +0800
committerHarry Huang <huangxiangyu5@huawei.com>2017-11-01 15:41:37 +0800
commit9852c792eebda940ccc8bd18b8acf2d69f7b3715 (patch)
tree09c35972aee2b68e8db160238329f535f1f9e04f /compass-cobbler/start.sh
parent3656ab7b5e3f2f26f7c98f9dcc97b3c461fa2a76 (diff)
Add compass-cobbler
Cobbler container for Compass Change-Id: Ic425b6647c082cc9e7d8c24cdce3ecf43cdb67f0 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
Diffstat (limited to 'compass-cobbler/start.sh')
-rwxr-xr-xcompass-cobbler/start.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/compass-cobbler/start.sh b/compass-cobbler/start.sh
new file mode 100755
index 0000000..b4b0562
--- /dev/null
+++ b/compass-cobbler/start.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+service httpd restart
+service cobblerd restart
+
+chmod +x /var/lib/cobbler/triggers/sync/post/migrate_ks.py
+cobbler sync