31 |
+ disk_space = getAvailableDiskSpace(storage) |
+ disk_space = getAvailableDiskSpace(storage) |
32 |
+ swp = swap.swapSuggestion(disk_space=disk_space) |
+ swp = swap.swapSuggestion(disk_space=disk_space) |
33 |
+ autorequests.append(PartSpec(fstype="swap", size=swp, grow=False, |
+ autorequests.append(PartSpec(fstype="swap", size=swp, grow=False, |
34 |
+ lv=True, encrypted=True)) |
+ lv=False, encrypted=True)) |
35 |
+ |
+ |
36 |
+ for autoreq in autorequests: |
+ for autoreq in autorequests: |
37 |
+ if autoreq.fstype is None: |
+ if autoreq.fstype is None: |