Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel

echo "Adding the images pool..."
virsh pool-destroy images 2>/dev/null
virsh pool-undefine images 2>/dev/null
umount /images 2>/dev/null
sed -i -e '/.kvm1.$/d' /etc/fstab
mkdir /images  2>/dev/null
chmod -R 0755 /images
echo '10.10.10.1:/mnt/kvm1 /images nfs vers=3,rsize=32768,wsize=32768,intr,rw,soft,bg 0 0' >> /etc/fstab
mount -a

virsh pool-define-as --name images --type dir --target /images
virsh pool-autostart --pool images
virsh pool-start images

...