|
|
|
@ -65,6 +65,13 @@ CMD_OPTIONS = [{'shortOption':"d",
|
|
|
|
|
'choices':['cld','cds','cls','css','cldg','cldx'],
|
|
|
|
|
'help':_("select operation system")
|
|
|
|
|
},
|
|
|
|
|
{'shortOption':"m",
|
|
|
|
|
'longOption':"march",
|
|
|
|
|
'optVal':"ARCH",
|
|
|
|
|
'type':'choice',
|
|
|
|
|
'choices':['i686','x86_64'],
|
|
|
|
|
'help':_("select processor architecture")
|
|
|
|
|
},
|
|
|
|
|
{'shortOption':"l",
|
|
|
|
|
'longOption':"lang",
|
|
|
|
|
'optVal':"LANG",
|
|
|
|
@ -257,6 +264,8 @@ class install_cmd(share_cmd):
|
|
|
|
|
"""Check and set disk, swap and bind cmd options"""
|
|
|
|
|
if self.optobj.values.s:
|
|
|
|
|
self.logicObj.setLinuxName(self.optobj.values.s.upper())
|
|
|
|
|
if self.optobj.values.m:
|
|
|
|
|
self.logicObj.clVars.Set('os_install_arch_machine',self.optobj.values.m)
|
|
|
|
|
if self.optobj.values.build:
|
|
|
|
|
self.logicObj.clVars.Set('os_install_scratch',"on",True)
|
|
|
|
|
else:
|
|
|
|
|