Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # after creating a default xenserver 6.5 installation on the dedicated server @ ovh.nl
- # Format the /dev/md2 with the following command:
- mkfs.ext3 /dev/md2
- # Create the iso directory:
- mkdir /mnt/iso
- # Mount the partition:
- mount –t ext3 /dev/md2 /mnt/iso/
- # The mount must be active after a reboot. So add it to the fstab script:
- echo "/dev/md2 /mnt/iso ext3 defaults 1 1" >> /etc/fstab
- # Make it available in XenServer:
- xe-mount-iso-sr /mnt/iso –o bind
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement