diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2008-05-05 14:40:44 -0400 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2008-05-05 14:40:44 -0400 |
commit | 97cb9acc37c4b230f5ac914044d0425cf73a11d0 (patch) | |
tree | b4b74222180cc22b42291ebed6017cf9d7f4a17f /cobbler | |
parent | 3c4bb08f300527952067287fa205120eb0de3933 (diff) | |
download | third_party-cobbler-97cb9acc37c4b230f5ac914044d0425cf73a11d0.tar.gz third_party-cobbler-97cb9acc37c4b230f5ac914044d0425cf73a11d0.tar.xz third_party-cobbler-97cb9acc37c4b230f5ac914044d0425cf73a11d0.zip |
Get omshell path from config file
Diffstat (limited to 'cobbler')
-rw-r--r-- | cobbler/modules/manage_isc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cobbler/modules/manage_isc.py b/cobbler/modules/manage_isc.py index 5bbe2fa..895eadc 100644 --- a/cobbler/modules/manage_isc.py +++ b/cobbler/modules/manage_isc.py @@ -73,7 +73,7 @@ class IscManager: # FIXME: should use subprocess """ try: - fromchild, tochild = popen2.popen2("/usr/bin/omshell") + fromchild, tochild = popen2.popen2(self.settings.omshell_bin) tochild.write("port %s\n" % port) tochild.flush() tochild.write("connect\n") @@ -101,7 +101,7 @@ class IscManager: Use DHCP's API to delete a DHCP entry in the /var/lib/dhcpd/dhcpd.leases file """ - fromchild, tochild = popen2.popen2("/usr/bin/omshell") + fromchild, tochild = popen2.popen2(self.settings.omshell_bin) try: tochild.write("port %s\n" % port) tochild.flush() |