From bfea116b38e9e03e0932d7d8b53a1d796862b4b1 Mon Sep 17 00:00:00 2001 From: Mike Hiretsky Date: Tue, 6 Dec 2011 17:30:00 +0400 Subject: [PATCH] Discard needing -d for pxe, and hide Formatting partition message. --- pym/cl_install.py | 3 ++- pym/cl_install_cmd.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pym/cl_install.py b/pym/cl_install.py index c09358c..3c2d48b 100644 --- a/pym/cl_install.py +++ b/pym/cl_install.py @@ -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) diff --git a/pym/cl_install_cmd.py b/pym/cl_install_cmd.py index 765fc63..43f162f 100644 --- a/pym/cl_install_cmd.py +++ b/pym/cl_install_cmd.py @@ -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 \