aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/onos_cluster/files/setup_networks/net_init
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2017-03-16 12:32:11 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-03-16 12:32:11 +0000
commitae1d61f7f99880d70317914de43262f37332aa82 (patch)
tree64c5bba7e4790283c344469c0ea1e4cc8fae3899 /deploy/adapters/ansible/roles/onos_cluster/files/setup_networks/net_init
parente1bcc84781b51e8078387d071c24eeead2700cb9 (diff)
parent8da5888adfc919b20807f0783e1ae841fac4244e (diff)
Merge "onos 1.8 upgradation for danube"
Diffstat (limited to 'deploy/adapters/ansible/roles/onos_cluster/files/setup_networks/net_init')
-rwxr-xr-xdeploy/adapters/ansible/roles/onos_cluster/files/setup_networks/net_init20
1 files changed, 20 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/onos_cluster/files/setup_networks/net_init b/deploy/adapters/ansible/roles/onos_cluster/files/setup_networks/net_init
new file mode 100755
index 00000000..c27a8bf8
--- /dev/null
+++ b/deploy/adapters/ansible/roles/onos_cluster/files/setup_networks/net_init
@@ -0,0 +1,20 @@
+#!/bin/bash
+## BEGIN INIT INFO
+# Provides: anamon.init
+# Default-Start: 3 5
+# Default-Stop: 0 1 2 4 6
+# Required-Start: $network
+# Short-Description: Starts the cobbler anamon boot notification program
+# Description: anamon runs the first time a machine is booted after
+# installation.
+## END INIT INFO
+
+#
+# anamon.init: Starts the cobbler post-install boot notification program
+#
+# chkconfig: 35 0 6
+#
+# description: anamon runs the first time a machine is booted after
+# installation.
+#
+python /opt/setup_networks/setup_networks.py