summaryrefslogtreecommitdiffstats
path: root/packages.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-12-21 13:28:09 -0500
committerChris Lumens <clumens@redhat.com>2010-02-04 15:07:55 -0500
commit37141a9a3fabaac4d7d525fa87f9c9983977016b (patch)
tree3fd73837f36749796c94ce6900f6b2dd2b94dad5 /packages.py
parent6db11661989a865a0cf59ca2be37208b498f2b71 (diff)
downloadanaconda-37141a9a3fabaac4d7d525fa87f9c9983977016b.tar.gz
anaconda-37141a9a3fabaac4d7d525fa87f9c9983977016b.tar.xz
anaconda-37141a9a3fabaac4d7d525fa87f9c9983977016b.zip
Move firstboot into the Anaconda object.
Diffstat (limited to 'packages.py')
-rw-r--r--packages.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages.py b/packages.py
index 454710e62..6a5a05c9a 100644
--- a/packages.py
+++ b/packages.py
@@ -49,10 +49,10 @@ def doPostAction(anaconda):
anaconda.instClass.postAction(anaconda)
def firstbootConfiguration(anaconda):
- if anaconda.id.firstboot == FIRSTBOOT_RECONFIG:
+ if anaconda.firstboot == FIRSTBOOT_RECONFIG:
f = open(anaconda.rootPath + '/etc/reconfigSys', 'w+')
f.close()
- elif anaconda.id.firstboot == FIRSTBOOT_SKIP:
+ elif anaconda.firstboot == FIRSTBOOT_SKIP:
f = open(anaconda.rootPath + '/etc/sysconfig/firstboot', 'w+')
f.write('RUN_FIRSTBOOT=NO')
f.close()