diff options
author | carey.xu <carey.xuhan@huawei.com> | 2015-09-19 16:26:40 +0800 |
---|---|---|
committer | carey.xu <carey.xuhan@huawei.com> | 2015-09-22 00:13:23 +0800 |
commit | 6bd52b2de366a9c20e6c93ae7fef80f711dc6e7b (patch) | |
tree | aa3d9468200dc767aa6934801d24eb186cf48f25 /deploy/adapters/ansible/roles/setup-network/files/setup_networks/net_init | |
parent | 9ecbb2e352f22edec687ece5976c1015be643da3 (diff) |
network config persistence
JIRA: COMPASS-62
Change-Id: I0774ac3b77ecc7ebfe8b4cd2236c36c3a3099f1d
Signed-off-by: carey.xu <carey.xuhan@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/setup-network/files/setup_networks/net_init')
-rwxr-xr-x | deploy/adapters/ansible/roles/setup-network/files/setup_networks/net_init | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/setup-network/files/setup_networks/net_init b/deploy/adapters/ansible/roles/setup-network/files/setup_networks/net_init new file mode 100755 index 00000000..a74a0065 --- /dev/null +++ b/deploy/adapters/ansible/roles/setup-network/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 95 95 +# +# description: anamon runs the first time a machine is booted after +# installation. +# +python /opt/setup_networks/setup_networks.py |