summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2000-04-24 19:52:55 +0000
committerErik Troan <ewt@redhat.com>2000-04-24 19:52:55 +0000
commit6ec20dd175f3739eb0651ef0ff749c44c9e522c5 (patch)
tree74a4cf6b4caf6290f7a1779fc3f87aefc98afa03 /anaconda
parent4f19b5544538e7b024e63628a42c7847dea53303 (diff)
downloadanaconda-6ec20dd175f3739eb0651ef0ff749c44c9e522c5.tar.gz
anaconda-6ec20dd175f3739eb0651ef0ff749c44c9e522c5.tar.xz
anaconda-6ec20dd175f3739eb0651ef0ff749c44c9e522c5.zip
can read url from file now
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda7
1 files changed, 7 insertions, 0 deletions
diff --git a/anaconda b/anaconda
index 14c7522d0..20da590b6 100755
--- a/anaconda
+++ b/anaconda
@@ -131,6 +131,13 @@ for n in args:
method = arg
reconfigOnly = 0
progmode = 'install'
+ if method[0] == '@':
+ filename = method[1:]
+ f = open(filename, "r")
+ method = f.readline()
+ method = method[:len(method) - 1]
+ del f
+ os.unlink(filename)
elif (str == '-d' or str == '--debug'):
debug = 1
elif (str == '--kickstart'):