diff --git a/basic/sbin/extend-disk b/basic/sbin/extend-disk index 174d230..71ca824 100755 --- a/basic/sbin/extend-disk +++ b/basic/sbin/extend-disk @@ -32,6 +32,7 @@ EOF if [ ! -e /dev/vg0/swap ]; then /sbin/lvcreate -L 4G vg0 -n swap /sbin/mkswap /dev/vg0/swap + /sbin/swapon /dev/vg0/swap fi # Extend LV and underlying filesystem