Revert "generate static & dhcp network config" master
Tony Mack [Tue, 19 Jan 2016 19:14:18 +0000 (19:14 +0000)]
This reverts commit 2177e33cd7b3099b97f36cda98b69300c49af372.

gen_network_config.sh [deleted file]
local.yml

diff --git a/gen_network_config.sh b/gen_network_config.sh
deleted file mode 100755 (executable)
index 785ff0e..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/bash
-
-source /tmp/planet.cnf
-
-cat << EOF >> /etc/network/interfaces.d/eth0
-auto eth0
-iface eth0 inet dhcp
-
-auto eth0:0
-iface eth0:0 inet static
-        address $IP_ADDRESS
-        netmask $IP_NETMASK
-        gateway $IP_GATEWAY
-EOF
index 4a3ec67..6169cb5 100644 (file)
--- a/local.yml
+++ b/local.yml
@@ -13,6 +13,3 @@
 
       - name: Run sshd
         service: name=ssh state=started
-
-      - name: Generate network config
-        script: gen_network_config.sh