summaryrefslogtreecommitdiffstats
path: root/instdata.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-07-12 13:59:19 +0000
committerChris Lumens <clumens@redhat.com>2006-07-12 13:59:19 +0000
commitd0dec240385acda60a0591fbddd1cbcbdf9c20bc (patch)
treed5dfc075f489681cf1577170d06ad47d9b803329 /instdata.py
parent143669aca0a87f5574924ea5aa6a52450a5311c6 (diff)
downloadanaconda-d0dec240385acda60a0591fbddd1cbcbdf9c20bc.tar.gz
anaconda-d0dec240385acda60a0591fbddd1cbcbdf9c20bc.tar.xz
anaconda-d0dec240385acda60a0591fbddd1cbcbdf9c20bc.zip
Use subprocess instead of our own code. Fix all calls to execWith* so
the command is no longer the first argument, since subprocess doesn't work that way. Remove unneeded /proc/e820info cruft. Remove iutil.rmrf.
Diffstat (limited to 'instdata.py')
-rw-r--r--instdata.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/instdata.py b/instdata.py
index aa9afc6f3..e8c167e36 100644
--- a/instdata.py
+++ b/instdata.py
@@ -138,7 +138,7 @@ class InstallData:
self.timezone.write (anaconda.rootPath)
- args = ["/usr/bin/authconfig", "--update", "--nostart"] + self.auth.split()
+ args = ["--update", "--nostart"] + self.auth.split()
try:
if not flags.test:
@@ -162,13 +162,13 @@ class InstallData:
if anaconda.isKickstart:
for svc in self.ksdata.services["disabled"]:
iutil.execWithRedirect("/sbin/chkconfig",
- ["/sbin/chkconfig", svc, "off"],
+ [svc, "off"],
stdout="/dev/tty5", stderr="/dev/tty5",
root="/mnt/sysimage")
for svc in self.ksdata.services["enabled"]:
iutil.execWithRedirect("/sbin/chkconfig",
- ["/sbin/chkconfig", svc, "on"],
+ [svc, "on"],
stdout="/dev/tty5", stderr="/dev/tty5",
root="/mnt/sysimage")