diff options
author | Brian C. Lane <bcl@redhat.com> | 2013-02-06 16:09:51 -0800 |
---|---|---|
committer | Brian C. Lane <bcl@redhat.com> | 2013-02-08 10:13:07 -0800 |
commit | 151ebab12ecb6bb7eebd6ca35b8d10ec25ccde16 (patch) | |
tree | 9653fadcc0a1d9a5d7490da4bef6b3c2076a6ddb /pyanaconda/ui/tui | |
parent | 20b027211e466c48266cadb9f3ad60650dabdc66 (diff) | |
download | anaconda-151ebab12ecb6bb7eebd6ca35b8d10ec25ccde16.tar.gz anaconda-151ebab12ecb6bb7eebd6ca35b8d10ec25ccde16.tar.xz anaconda-151ebab12ecb6bb7eebd6ca35b8d10ec25ccde16.zip |
Add --dirinstall command
This disables the storage spoke and installs to /mnt/sysimage without
mounting any filesystems. If something is already mounted on
/mnt/sysimage it leaves it untouched.
This can be useful for utilities like livemedia-creator which will mount
a filesystem image on the directory and then run anaconda to install to
it.
Diffstat (limited to 'pyanaconda/ui/tui')
-rw-r--r-- | pyanaconda/ui/tui/spokes/storage.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pyanaconda/ui/tui/spokes/storage.py b/pyanaconda/ui/tui/spokes/storage.py index 2cfff2735..80e309400 100644 --- a/pyanaconda/ui/tui/spokes/storage.py +++ b/pyanaconda/ui/tui/spokes/storage.py @@ -120,6 +120,10 @@ class StorageSpoke(NormalTUISpoke): return True @property + def showable(self): + return not flags.dirInstall + + @property def status(self): """ A short string describing the current status of storage setup. """ msg = _("No disks selected") |