|
|
|
@ -1059,9 +1059,11 @@ class VariableOsInstallDiskOptions(ReadonlyVariable):
|
|
|
|
|
def get(self):
|
|
|
|
|
"""TODO: get real options"""
|
|
|
|
|
diskOpts = dict(zip(self.Get('os_disk_dev'),
|
|
|
|
|
self.Get('os_disk_options')))
|
|
|
|
|
return map(lambda x:diskOpts.get(x,''),
|
|
|
|
|
self.Get('os_install_disk_dev'))
|
|
|
|
|
self.Get('os_disk_options')))
|
|
|
|
|
return map(lambda x:diskOpts.get(x[0],x[1]),
|
|
|
|
|
map(lambda x:(x[0],FileSystemManager.getDefaultOpt(x[1])),
|
|
|
|
|
self.ZipVars('os_install_disk_dev',
|
|
|
|
|
'os_install_disk_format')))
|
|
|
|
|
|
|
|
|
|
class VariableOsInstallDiskFormat(ReadonlyVariable):
|
|
|
|
|
"""
|
|
|
|
|