55 |
sys.exit(0) |
sys.exit(0) |
56 |
return DISPATCH_FORWARD |
return DISPATCH_FORWARD |
57 |
|
|
58 |
def doPostAction(id, instPath): |
def doPostAction(id, instPath, intf): |
59 |
id.instClass.postAction(instPath, flags.serial) |
id.instClass.postAction(instPath, flags.serial, intf) |
60 |
|
|
61 |
def firstbootConfiguration(id, instPath): |
def firstbootConfiguration(id, instPath): |
62 |
if id.firstboot == FIRSTBOOT_RECONFIG: |
if id.firstboot == FIRSTBOOT_RECONFIG: |
1089 |
if flags.test: |
if flags.test: |
1090 |
return |
return |
1091 |
|
|
|
w = intf.progressWindow(_("Post Install"), |
|
|
_("Performing post install configuration..."), 6) |
|
|
|
|
1092 |
upgrade = id.upgrade.get() |
upgrade = id.upgrade.get() |
1093 |
arch = iutil.getArch () |
arch = iutil.getArch () |
1094 |
|
|
1095 |
if upgrade: |
if upgrade: |
1096 |
|
w = intf.progressWindow(_("Post Upgrade"), |
1097 |
|
_("Performing post upgrade configuration..."), 6) |
1098 |
logname = '/root/upgrade.log' |
logname = '/root/upgrade.log' |
1099 |
else: |
else: |
1100 |
|
w = intf.progressWindow(_("Post Install"), |
1101 |
|
_("Performing post install configuration..."), 6) |
1102 |
logname = '/root/install.log' |
logname = '/root/install.log' |
1103 |
|
|
1104 |
instLogName = instPath + logname |
instLogName = instPath + logname |