diff options
-rwxr-xr-x | anaconda | 5 | ||||
-rw-r--r-- | installclasses/fedora.py | 2 | ||||
-rw-r--r-- | liveinst/liveinst.sh | 2 |
3 files changed, 7 insertions, 2 deletions
@@ -236,6 +236,8 @@ def parseOptions(): op.add_option("--repo", dest="method", default=None) op.add_option("--stage2", dest="stage2", default=None) + op.add_option("--liveinst", action="store_true", default=False) + # Display op.add_option("--headless", dest="isHeadless", action="store_true", default=False) op.add_option("--lowres", dest="runres", action="store_const", const="640x480") @@ -625,6 +627,9 @@ if __name__ == "__main__": else: anaconda.methodstr = None + if opts.liveinst: + flags.livecdInstall = True + if opts.module: for mod in opts.module: (path, name) = string.split(mod, ":") diff --git a/installclasses/fedora.py b/installclasses/fedora.py index 828678ab0..6c282a925 100644 --- a/installclasses/fedora.py +++ b/installclasses/fedora.py @@ -66,7 +66,7 @@ class InstallClass(BaseInstallClass): anaconda.dispatch.skipStep("partition") def getBackend(self): - if flags.livecd: + if flags.livecdInstall: import livecd return livecd.LiveCDCopyBackend else: diff --git a/liveinst/liveinst.sh b/liveinst/liveinst.sh index b61a5a5e2..9e39d0fdf 100644 --- a/liveinst/liveinst.sh +++ b/liveinst/liveinst.sh @@ -45,7 +45,7 @@ if [ -z "$LANG" ]; then fi # eventually, we might want to allow a more "normal" install path -ANACONDA="/usr/sbin/anaconda --method=livecd://$LIVE_BLOCK --lang $LANG" +ANACONDA="/usr/sbin/anaconda --liveinst --method=livecd://$LIVE_BLOCK --lang $LANG" if [ -x /usr/sbin/setenforce -a -e /selinux/enforce ]; then current=$(cat /selinux/enforce) |