diff options
author | Javier Jardón <javier.jardon@codethink.co.uk> | 2015-02-27 12:41:40 +0000 |
---|---|---|
committer | Javier Jardón <javier.jardon@codethink.co.uk> | 2015-02-27 12:44:14 +0000 |
commit | 5ef1a28c82871c8500bdc1bb30ce415749c84c83 (patch) | |
tree | abe54d14c88aef9b8f9d690cff8de83039f55cec | |
parent | d9f1ebed08da73bd65924e514830db9481c8b8b1 (diff) | |
download | morph-5ef1a28c82871c8500bdc1bb30ce415749c84c83.tar.gz |
simple-network.configure: No need to configure loopback interface
-rwxr-xr-x | morphlib/exts/simple-network.configure | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/morphlib/exts/simple-network.configure b/morphlib/exts/simple-network.configure index 2c098416..258bf7a1 100755 --- a/morphlib/exts/simple-network.configure +++ b/morphlib/exts/simple-network.configure @@ -68,6 +68,9 @@ class SimpleNetworkConfigurationExtension(cliapp.Application): name = stanza['name'] itype = stanza['type'] + if itype == "loopback": + return + lines = ["[Match]"] lines += ["Name=%s\n" % name] lines += ["[Network]"] |