Migrate to calculate.env

master3.3
Mike Hiretsky 12 years ago
parent e928a255bf
commit d43be285ba

@ -365,15 +365,7 @@ class VariableOsInstallDevFrom(Variable):
"""
Root device of previous installed os
"""
def get(self):
"""Get from calculate2.env by default"""
try:
config = cl_template.iniParser('/etc/calculate/calculate2.env')
val = config.getVar('install','os_install_dev_from')
return val.encode('utf-8')
except:
pass
return ""
value = ""
def set(self,value):
"""

Loading…
Cancel
Save