aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/openstack_osp9/roles/onos_cluster/files/setup_networks/net_init
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2016-10-28 16:07:15 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-10-28 16:07:15 +0000
commitf5459c2de4fa37ffe0858ff3f498a299823fffb8 (patch)
treebc75b1cd9a397940a3b540ee90a6ca5657497cd4 /deploy/adapters/ansible/openstack_osp9/roles/onos_cluster/files/setup_networks/net_init
parentf529f05f56c10659f2499090b2e6a3c56ac8db76 (diff)
parent5ac0350135d59f143b91115170b5690631e3f448 (diff)
Merge "add osp9 roles"
Diffstat (limited to 'deploy/adapters/ansible/openstack_osp9/roles/onos_cluster/files/setup_networks/net_init')
-rwxr-xr-xdeploy/adapters/ansible/openstack_osp9/roles/onos_cluster/files/setup_networks/net_init20
1 files changed, 20 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/openstack_osp9/roles/onos_cluster/files/setup_networks/net_init b/deploy/adapters/ansible/openstack_osp9/roles/onos_cluster/files/setup_networks/net_init
new file mode 100755
index 00000000..c27a8bf8
--- /dev/null
+++ b/deploy/adapters/ansible/openstack_osp9/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