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(
_("Enable to create the directory in '%s'")%mntpath)
# cmd options
self.printMessageForTest(_("Formating partitions"))
if not pxe:
self.printMessageForTest(_("Formating partitions"))
targetDistr.performFormat()
self.printByResult(True)

@ -345,7 +345,7 @@ class install_cmd(share_cmd):
else:
self.logicObj.clVars.Set('os_install_kernel_scheduler',
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):
if values.v is False and \
not values.p and \

Loading…
Cancel
Save