summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2008-11-04 12:04:13 -0500
committerChris Lumens <clumens@redhat.com>2008-11-04 12:04:13 -0500
commit4767bbdcba4bee24da2d2efdb0d5b1da46c1b1f2 (patch)
tree99db604748e0202ffcc7d582e6b2e438369182cf
parent185d20528cf166504e039488a1010fde9c511e9b (diff)
downloadanaconda-4767bbdcba4bee24da2d2efdb0d5b1da46c1b1f2.tar.gz
anaconda-4767bbdcba4bee24da2d2efdb0d5b1da46c1b1f2.tar.xz
anaconda-4767bbdcba4bee24da2d2efdb0d5b1da46c1b1f2.zip
kickstart expects --dhcpclass instead of --class (#468972).
-rw-r--r--network.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/network.py b/network.py
index e9cc6dbdb..a5bae0dd3 100644
--- a/network.py
+++ b/network.py
@@ -448,7 +448,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"):