search for: drive_space_dict

Displaying 1 result from an estimated 1 matches for "drive_space_dict".

2010 Oct 22
0
[PATCH node] First draft of replacing some of the ovirt-config-* scripts with python equivalents.
...t: + if dev_list.count(dev) > 1: + count = dev_list.count(dev) + while (count > 1): + dev_list.remove(dev) + count = count - 1 + + return dev_list + +def check_partition_sizes(): + # disk_size need_size + drive_list = [] + drive_space_dict = {} + min_data_size = OVIRT_VARS["DATA_SIZE"] + if DATA_SIZE == -1 : + min_data_size=5 + + if OVIRT_VARS["OVIRT_ISCSI_ENABLED"] == "y": + BOOTDRIVESPACE = get_drive_size(BOOTDRIVE) + drive_list.append("BOOT") + drive_spac...