summaryrefslogtreecommitdiffstats
path: root/instdata.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2006-07-28 01:43:22 +0000
committerJeremy Katz <katzj@redhat.com>2006-07-28 01:43:22 +0000
commit9a6aa31e3d26e05dea52718c551e77b0aa647a4e (patch)
tree17f3fb325b070dade908b05f8efc9649ae7fc82a /instdata.py
parent2dfc14a1cb37f50bba7f40791482dd312be93e95 (diff)
downloadanaconda-9a6aa31e3d26e05dea52718c551e77b0aa647a4e.tar.gz
anaconda-9a6aa31e3d26e05dea52718c551e77b0aa647a4e.tar.xz
anaconda-9a6aa31e3d26e05dea52718c551e77b0aa647a4e.zip
2006-07-27 Jeremy Katz <katzj@redhat.com>
* instdata.py (InstallData.write): Use anaconda.rootPath instead of hard-coding /mnt/sysimage
Diffstat (limited to 'instdata.py')
-rw-r--r--instdata.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/instdata.py b/instdata.py
index 31396ee95..775988561 100644
--- a/instdata.py
+++ b/instdata.py
@@ -164,13 +164,13 @@ class InstallData:
iutil.execWithRedirect("/sbin/chkconfig",
[svc, "off"],
stdout="/dev/tty5", stderr="/dev/tty5",
- root="/mnt/sysimage")
+ root=anaconda.rootPath)
for svc in self.ksdata.services["enabled"]:
iutil.execWithRedirect("/sbin/chkconfig",
[svc, "on"],
stdout="/dev/tty5", stderr="/dev/tty5",
- root="/mnt/sysimage")
+ root=anaconda.rootPath)
for ud in self.ksdata.userList:
if self.users.createUser(ud.name, ud.password, ud.isCrypted,