Enable show-partition without -d.

lvmraid
Mike Hiretsky 13 years ago
parent 942bb7dc60
commit 0a82ec7845

@ -257,6 +257,7 @@ class install_cmd(share_cmd):
example="default:192.168.1.1"))
if not (values.install or values.uninstall or values.live):
if values.v is False and \
not values.p and \
values.d is None and \
not self.logicObj.clVars.Get('os_install_dev_from'):
self.optobj.error(_("need specify disk by '-d' option"))

Loading…
Cancel
Save