summaryrefslogtreecommitdiffstats
path: root/config.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2006-04-21 17:17:09 -0400
committerJim Meyering <jim@meyering.net>2006-04-21 17:17:09 -0400
commite42e37868c1d207ff1b2da1a14b4dd60e6364af5 (patch)
tree1698799eda38c2bfd47c561c05401cb05f0c27a6 /config.py
parent2915377b9adb05e5ac327e27097c0cfb5705be8f (diff)
downloadthird_party-cobbler-e42e37868c1d207ff1b2da1a14b4dd60e6364af5.tar.gz
third_party-cobbler-e42e37868c1d207ff1b2da1a14b4dd60e6364af5.tar.xz
third_party-cobbler-e42e37868c1d207ff1b2da1a14b4dd60e6364af5.zip
Mirror tftp directories over http
Diffstat (limited to 'config.py')
-rw-r--r--config.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.py b/config.py
index 28bc221..ae5d44b 100644
--- a/config.py
+++ b/config.py
@@ -50,6 +50,7 @@ class BootConfig:
self.pxelinux = "/usr/lib/syslinux/pxelinux.0"
self.tftpd_bin = "/usr/sbin/in.tftpd"
self.dhcpd_bin = "/usr/sbin/dhcpd"
+ self.httpd_bin = "/usr/sbin/httpd"
self.kernel_options = "append devfs=nomount ramdisk_size=16438 lang= vga=788 ksdevice=eth0 console=ttyS0,38400n8" #initrd and ks added programmatically
"""
@@ -81,6 +82,7 @@ class BootConfig:
data['pxelinux'] = self.pxelinux
data['tftpd_bin'] = self.tftpd_bin
data['dhcpd_bin'] = self.dhcpd_bin
+ data['httpd_bin'] = self.httpd_bin
return data
"""
@@ -94,6 +96,7 @@ class BootConfig:
self.pxelinux = hash['pxelinux']
self.tftpd_bin = hash['tftpd_bin']
self.dhcpd_bin = hash['dhcpd_bin']
+ self.httpd_bin = hash['httpd_bin']
except:
print "WARNING: config file error: %s" % (self.settings_file)
self.set_defaults()