summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-09-01 23:27:33 +0000
committerMatt Wilson <msw@redhat.com>1999-09-01 23:27:33 +0000
commitcf19afb6d00150e6faa5a267e72955723e9f94e7 (patch)
treeccab2ffd8a307b57c55d34c4077770e4ed607c84 /anaconda
parent3835aecef69bc9378ef1588c9b9c10db69422319 (diff)
downloadanaconda-cf19afb6d00150e6faa5a267e72955723e9f94e7.tar.gz
anaconda-cf19afb6d00150e6faa5a267e72955723e9f94e7.tar.xz
anaconda-cf19afb6d00150e6faa5a267e72955723e9f94e7.zip
added fstype to hard drive installs
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda8
1 files changed, 6 insertions, 2 deletions
diff --git a/anaconda b/anaconda
index 343e8ff8e..d2b54f20d 100755
--- a/anaconda
+++ b/anaconda
@@ -139,10 +139,14 @@ elif (method[0:5] == "hd://"):
method = method[5:]
i = string.index(method, '/')
dir = method[i:]
- drive = method[0:i]
+ driveAndType = method[0:i]
+
+ i = string.index(driveAndType, ":")
+ drive = driveAndType[0:i]
+ type = driveAndType[i + 1:]
from harddrive import InstallMethod
- method = InstallMethod(drive, dir)
+ method = InstallMethod(drive, type, dir)
else:
print "unknown install method:", method
sys.exit(1)