summaryrefslogtreecommitdiffstats
path: root/network.py
diff options
context:
space:
mode:
authorJoel Granados Moreno <jgranado@redhat.com>2008-10-29 18:54:09 +0100
committerJoel Granados Moreno <jgranado@redhat.com>2008-10-29 18:54:09 +0100
commitc0d2ff2c62b1aa2ab967acb5490ace0ea7ba0f4c (patch)
tree34a5654ef5eeb91541e5e9306e1bb4a22f60728a /network.py
parent64bf9714ca871bc3ec5d7661f2e8d99df7a25a25 (diff)
downloadanaconda-c0d2ff2c62b1aa2ab967acb5490ace0ea7ba0f4c.tar.gz
anaconda-c0d2ff2c62b1aa2ab967acb5490ace0ea7ba0f4c.tar.xz
anaconda-c0d2ff2c62b1aa2ab967acb5490ace0ea7ba0f4c.zip
Write --dhcpclass instead of --class to the anaconda ks file.
Diffstat (limited to 'network.py')
-rw-r--r--network.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/network.py b/network.py
index c8f2589bc..fcb0aa3db 100644
--- a/network.py
+++ b/network.py
@@ -443,7 +443,7 @@ class Network:
if dev.get('bootproto').lower() == 'dhcp':
f.write(" --bootproto dhcp")
if dev.get('dhcpclass'):
- f.write(" --class %s" % dev.get('dhcpclass'))
+ f.write(" --dhcpclass %s" % dev.get('dhcpclass'))
if self.overrideDHCPhostname:
if (self.hostname and
self.hostname != "localhost.localdomain"):