This is a part 1/3 creating CentOS 6.x CloudStack template with the following features:
- Minimal and fully updated CentOS 6.5 for 32-bit and 64-bit platforms with guest OS tools
- Root password management using cloudstack-guest-set-password script
- SSH key management using cloud-init
Register CentOS ISO
- Login to CloudStack management UI
- Navigate to ‘Templates’ and select view ‘ISO’ from the drop-down list
- Click ‘Register ISO’. Use the latest CentOS release ISO, which at this time (as of Jan 2014) is CentOS 6.5
- Set ‘Name’ and ‘Description’ fields to CentOS-6.5-x86_64-minimal.iso
- Set the URL to the nearest ISO mirror. I used http://mirror.leapswitch.com/centos/6.5/isos/x86_64/CentOS-6.5-x86_64-minimal.iso for CentOS 6.4 64-bit and http://mirror.leapswitch.com/centos/6.5/isos/i386/CentOS-6.5-i386-minimal.iso for the 32-bit version.
- Check the ‘Bootable’ checkbox
- Set the OS Type field to ‘CentOS 6.4 (64-bit)’ as CentOS 6.5 is not listed in the drop down list as of CloudStack 4.2.0. Use OS Type ‘CentOS 6.4 (32-bit)’ for the 32-bit ISO
- Click OK button to start the download
- CloudStack will now start to download the ISO from the mirror. You can check the status by clicking on the ISO’s name
- Wait for the ISO download and complete registration successfully. It takes a few minutes depending on the speed of your connection
Once the ISO registration is completed, create a new instance with the ISO
Continue reading “CloudStack CentOS Template – Install From ISO”