summaryrefslogtreecommitdiffstats
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-18 05:56:02 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-03-18 05:56:02 +0000
commita80a7b5e715ab1cb0b03b911a245750678f32d8e (patch)
treee1278061848e6dbe46350bf80cedca2a22fc02f7 /deploy/adapters/ansible/roles/onos_cluster/files/setup_networks/net_init
parent6e9c3463d671156e08189a93844cb02243af5027 (diff)
parentf6f9e275941e9dd4129afbd09367e38857eb0f0f (diff)
Merge "onos 1.8 upgradation for danube" into stable/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