|
|
|
@ -126,7 +126,7 @@ class install_cmd(cl_install,share_cmd):
|
|
|
|
|
else:
|
|
|
|
|
if values.d == None:
|
|
|
|
|
values.d = self.detectPreviousSystem()
|
|
|
|
|
if values.vars is None and \
|
|
|
|
|
if values.v is None and \
|
|
|
|
|
values.d is None:
|
|
|
|
|
self.optobj.error(_("need specify disk by '-d' option"))
|
|
|
|
|
# check syntax DISK:DIR:FS:'Do I need to format the disk'
|
|
|
|
@ -226,13 +226,7 @@ class install_cmd(cl_install,share_cmd):
|
|
|
|
|
|
|
|
|
|
def displayVars(self,vars):
|
|
|
|
|
"""Process displaying variables"""
|
|
|
|
|
terms = vars.split(",")
|
|
|
|
|
# if value of vars is "all" print all variables
|
|
|
|
|
if terms == ["all"]:
|
|
|
|
|
self.clVars.printVars()
|
|
|
|
|
# print only specified variables
|
|
|
|
|
else:
|
|
|
|
|
self.clVars.printVars(terms)
|
|
|
|
|
self.clVars.printVars()
|
|
|
|
|
|
|
|
|
|
def _parseOptSwap(self, listOpt):
|
|
|
|
|
"""Parse value cmd option --swap"""
|
|
|
|
|