search for: ovirt_crypt_swap

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

Did you mean: ovirt_crypt_swap2
2010 Jul 21
0
[PATCH] RFC: Encrypted swap support
...SWAP_SIZE" -gt 0 ]; then log "Creating swap partition" lvcreate --name Swap --size ${SWAP_SIZE}M /dev/HostVG - mkswap -L "SWAP" /dev/HostVG/Swap - echo "/dev/HostVG/Swap swap swap defaults 0 0" >> /etc/fstab + if [ -n ${OVIRT_CRYPT_SWAP} ]; then + echo "SWAP /dev/HostVG/Swap /dev/mapper/ovirt-crypt-swap ${OVIRT_CRYPT_SWAP}" >> /etc/ovirt-crypttab + else + mkswap -L "SWAP" /dev/HostVG/Swap + echo "/dev/HostVG/Swap swap swap defaults 0 0" >> /etc/fstab...