summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-06-25 19:27:03 +0000
committerJeremy Katz <katzj@redhat.com>2002-06-25 19:27:03 +0000
commitdc44a06b95c25dd3dad62ebb2aae0290f279fb46 (patch)
treeabb6c9cb69b11488f8eec1c86ce8bebcbf9458b5 /anaconda
parent631bacf0193b8a65eaec81043b1b03bfa329cc95 (diff)
downloadanaconda-dc44a06b95c25dd3dad62ebb2aae0290f279fb46.tar.gz
anaconda-dc44a06b95c25dd3dad62ebb2aae0290f279fb46.tar.xz
anaconda-dc44a06b95c25dd3dad62ebb2aae0290f279fb46.zip
get the root path into all of the install methods
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda11
1 files changed, 6 insertions, 5 deletions
diff --git a/anaconda b/anaconda
index 381516ae2..e284eb9ea 100755
--- a/anaconda
+++ b/anaconda
@@ -576,13 +576,13 @@ if method:
if method.startswith('cdrom://'):
from image import CdromInstallMethod
method = CdromInstallMethod(method[8:], intf.messageWindow,
- intf.progressWindow)
+ intf.progressWindow, rootPath)
elif method.startswith('nfs:/'):
from image import NfsInstallMethod
- method = NfsInstallMethod(method[5:])
+ method = NfsInstallMethod(method[5:], rootPath)
elif method.startswith('nfsiso:/'):
from image import NfsIsoInstallMethod
- method = NfsIsoInstallMethod(method[8:], intf.messageWindow)
+ method = NfsIsoInstallMethod(method[8:], intf.messageWindow, rootPath)
elif method.startswith('ftp://') or method.startswith('http://'):
from urlinstall import UrlInstallMethod
method = UrlInstallMethod(method, rootPath)
@@ -598,7 +598,8 @@ if method:
dir = method[i+1:]
from harddrive import HardDriveInstallMethod
- method = HardDriveInstallMethod(drive, type, dir, intf.messageWindow)
+ method = HardDriveInstallMethod(drive, type, dir, intf.messageWindow,
+ rootPath)
elif method.startswith('oldhd://'):
method = method[8:]
@@ -611,7 +612,7 @@ if method:
dir = method[i+1:]
from harddrive import OldHardDriveInstallMethod
- method = OldHardDriveInstallMethod(drive, type, dir)
+ method = OldHardDriveInstallMethod(drive, type, dir, rootPath)
else:
print "unknown install method:", method
sys.exit(1)