• Natanael Copa's avatar
    setup-disk: fix swap size calculation · ea514130
    Natanael Copa authored
    use 2 * total ram or maximum 1/4 of the smallest disk.
    don't use more than 4G swap
    if swap is smaller than 64MB then don't bother create swap at all.
    
    ref #732
    ea514130
setup-disk.in 21.6 KB