[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[PATCH] - Write --dhcpclass instead of --class
- From: Alexander Todorov <atodorov redhat com>
- To: Discussion of Development and Customization of the Red Hat Linux Installer <anaconda-devel-list redhat com>
- Subject: [PATCH] - Write --dhcpclass instead of --class
- Date: Wed, 29 Oct 2008 12:06:46 +0200
Hi folks,
I've seen several BZ wrt anaconda expecting --dhcpclass argument for the network
command in a ks.cfg file but when such is present the resulting anaconda-ks.cfg
will have --class. The attached patch fixes this.
network.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/network.py b/network.py
index c8f2589..fcb0aa3 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"):
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]