From f6f9e275941e9dd4129afbd09367e38857eb0f0f Mon Sep 17 00:00:00 2001 From: rssaravana Date: Fri, 17 Feb 2017 16:44:25 +0530 Subject: onos 1.8 upgradation for danube Change-Id: I6242b9fc09749ca83f446ef5456eaad72f248012 Signed-off-by: rssaravana (cherry picked from commit 8da5888adfc919b20807f0783e1ae841fac4244e) --- .../roles/onos_cluster/files/setup_networks/net_init | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 deploy/adapters/ansible/roles/onos_cluster/files/setup_networks/net_init (limited to 'deploy/adapters/ansible/roles/onos_cluster/files/setup_networks/net_init') 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 -- cgit 1.2.3-korg