summaryrefslogtreecommitdiffstats
path: root/network.py
diff options
context:
space:
mode:
Diffstat (limited to 'network.py')
-rw-r--r--network.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/network.py b/network.py
index b59c947f0..859728415 100644
--- a/network.py
+++ b/network.py
@@ -121,7 +121,8 @@ class NetworkDevice(SimpleConfigFile):
return s
def __init__(self, dev):
- self.info = { "DEVICE" : dev }
+ self.info = { "DEVICE" : dev,
+ "ONBOOT": "no" }
class Network:
def __init__(self):
@@ -236,7 +237,7 @@ class Network:
"looking up host name", dev.get('device'))
if not self.isConfigured:
- log("no network devices were availabe to look up host name")
+ log("no network devices were available to look up host name")
return None
f = open("/etc/resolv.conf", "w")