summaryrefslogtreecommitdiffstats
path: root/silo.py
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2000-03-07 18:03:24 +0000
committerErik Troan <ewt@redhat.com>2000-03-07 18:03:24 +0000
commit2461e24a5fef6aec43db203eec1fa0de95f0c990 (patch)
tree31c424d1a51c9305be4624ae800bc756aa36bf7a /silo.py
parent04df913da8f7b3946c87a547e76762dc1def7d88 (diff)
downloadanaconda-2461e24a5fef6aec43db203eec1fa0de95f0c990.tar.gz
anaconda-2461e24a5fef6aec43db203eec1fa0de95f0c990.tar.xz
anaconda-2461e24a5fef6aec43db203eec1fa0de95f0c990.zip
device of "None" should skip writing silo.conf
Diffstat (limited to 'silo.py')
-rw-r--r--silo.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/silo.py b/silo.py
index ce6d275eb..815bde750 100644
--- a/silo.py
+++ b/silo.py
@@ -233,6 +233,8 @@ class SiloInstall:
return self.getMbrDevices(fstab)[0]
def install(self, fstab, instRoot, hdList, upgrade):
+ if not self.siloDevice: return
+
silo = LiloConfigFile ()
if not self.siloImages: