summaryrefslogtreecommitdiffstats
path: root/network.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2003-08-25 21:27:36 +0000
committerMike Fulbright <msf@redhat.com>2003-08-25 21:27:36 +0000
commit4af8b5ec3a3b217b458e77a7ed60d63c0e53b0ec (patch)
tree3f67aa1bb6c40ae05ec661d3f34d69ced8933be3 /network.py
parent80e8c1224bd65f5b132b9e4fe14506b2ffa09102 (diff)
downloadanaconda-4af8b5ec3a3b217b458e77a7ed60d63c0e53b0ec.tar.gz
anaconda-4af8b5ec3a3b217b458e77a7ed60d63c0e53b0ec.tar.xz
anaconda-4af8b5ec3a3b217b458e77a7ed60d63c0e53b0ec.zip
fix for bug #78627 - enhancements and fixes for ks network directive
Diffstat (limited to 'network.py')
-rw-r--r--network.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/network.py b/network.py
index 1596ef45e..1d0de99e1 100644
--- a/network.py
+++ b/network.py
@@ -336,6 +336,9 @@ class Network:
if dev.get('bootproto') == 'dhcp' or dev.get('ipaddr'):
f.write("network --device %s" % dev.get('device'))
+ onboot = dev.get("onboot")
+ if onboot and onboot == "no":
+ f.write(" --onboot no")
if dev.get('bootproto') == 'dhcp':
f.write(" --bootproto dhcp")
if self.overrideDHCPhostname: