Discard needing -d for pxe, and hide Formatting partition message.

master
Mike Hiretsky 13 years ago
parent 29ec169697
commit bfea116b38

@ -2499,7 +2499,8 @@ the system") + " (yes/no)"
raise InstallError( raise InstallError(
_("Enable to create the directory in '%s'")%mntpath) _("Enable to create the directory in '%s'")%mntpath)
# cmd options # cmd options
self.printMessageForTest(_("Formating partitions")) if not pxe:
self.printMessageForTest(_("Formating partitions"))
targetDistr.performFormat() targetDistr.performFormat()
self.printByResult(True) self.printByResult(True)

@ -345,7 +345,7 @@ class install_cmd(share_cmd):
else: else:
self.logicObj.clVars.Set('os_install_kernel_scheduler', self.logicObj.clVars.Set('os_install_kernel_scheduler',
values.scheduler,force=True) values.scheduler,force=True)
if not (values.install or values.uninstall if not (values.install or values.pxe or values.uninstall
or values.startup or values.live): or values.startup or values.live):
if values.v is False and \ if values.v is False and \
not values.p and \ not values.p and \

Loading…
Cancel
Save