summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <javier.jardon@codethink.co.uk>2015-02-27 12:41:55 +0000
committerJavier Jardón <javier.jardon@codethink.co.uk>2015-02-27 12:44:14 +0000
commita4599ee823eb65c3a125c85149abab487df73bec (patch)
treedec72cb437880290163f8d432c4860c468bbacf2
parent2d97d408f473796bc5dab7291908c658f2f73a5b (diff)
downloadmorph-a4599ee823eb65c3a125c85149abab487df73bec.tar.gz
simple-network.configure: Use a better default for the interface namejjardon/simple-network-networkd
e* instead eth0 hostname should not be configured here but in the "set-hostname" extension
-rwxr-xr-xmorphlib/exts/simple-network.configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/exts/simple-network.configure b/morphlib/exts/simple-network.configure
index b658851b..c6a83312 100755
--- a/morphlib/exts/simple-network.configure
+++ b/morphlib/exts/simple-network.configure
@@ -46,7 +46,7 @@ class SimpleNetworkConfigurationExtension(cliapp.Application):
def process_args(self, args):
network_config = os.environ.get(
- "NETWORK_CONFIG", "lo:loopback;eth0:dhcp,hostname=$(hostname)")
+ "NETWORK_CONFIG", "lo:loopback;e*:dhcp")
self.status(msg="Processing NETWORK_CONFIG=%(nc)s", nc=network_config)