Fix net_conf variable.

master3.3
Mike Hiretsky 13 years ago
parent b006dadd26
commit 14c196e205

@ -54,7 +54,7 @@ class AutoPartition:
("{memory}:swap;{allsize}:/",
_("Whole disk for swap and root"))]
def recreatePartitionTable(self,talbe,device,scheme,memory,rootsize):
def recreatePartitionTable(self,table,device,scheme,memory,rootsize):
"""
"""
mapDispatch = {'dos':self.recreatePartitionTableDos,

@ -534,6 +534,8 @@ class VariableOsInstallNetConf(NetVariable):
listDirectory('/etc/runlevels/default')) \
or self.Get('os_install_root_type') == "livecd":
nm = "networkmanager"
else:
nm = ""
if nm in map(lambda x:x[1],self.choice()):
return nm
else:

Loading…
Cancel
Save