Change option m,march to march

netsetup
Mike Hiretsky 14 years ago
parent aa1a86304a
commit b5aa4e3135

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

Loading…
Cancel
Save