diff options
author | Chris Lumens <clumens@redhat.com> | 2009-12-21 13:28:09 -0500 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2010-02-04 15:07:55 -0500 |
commit | 37141a9a3fabaac4d7d525fa87f9c9983977016b (patch) | |
tree | 3fd73837f36749796c94ce6900f6b2dd2b94dad5 /anaconda | |
parent | 6db11661989a865a0cf59ca2be37208b498f2b71 (diff) | |
download | anaconda-37141a9a3fabaac4d7d525fa87f9c9983977016b.tar.gz anaconda-37141a9a3fabaac4d7d525fa87f9c9983977016b.tar.xz anaconda-37141a9a3fabaac4d7d525fa87f9c9983977016b.zip |
Move firstboot into the Anaconda object.
Diffstat (limited to 'anaconda')
-rwxr-xr-x | anaconda | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -495,6 +495,15 @@ class Anaconda(object): return self._bootloader @property + def firstboot(self): + if self.ksdata: + return self.ksdata.firstboot.firstboot + elif iutil.isS390(): + return FIRSTBOOT_SKIP + else: + return FIRSTBOOT_DEFAULT + + @property def instClass(self): if not self._instClass: from installclass import DefaultInstall |