Fix detect bootdev.

netsetup
Mike Hiretsky 14 years ago
parent ec659cb596
commit 5e03cc5c9b

@ -1131,7 +1131,7 @@ class fillVars(object, glob_attr):
if bootDev:
bootdev = bootDev[0][1]
# search device for partition
device = filter(lambda x:x in rootdev,
device = filter(lambda x:x in bootdev,
self.Get('os_device_dev'))
# set it by default
if device:

Loading…
Cancel
Save