From Luna Node
Revision as of 00:28, 26 March 2016 by Favyen Bastani (Talk | contribs)
Here, we cover how to install a virtual machine from ISO on Luna Node Dynamic.
- Add the ISO to your account: if the ISO is not already provided (we have some like Ubuntu and Fedora Server), go to Add a new image to add the ISO file. The ISO file needs to be available for download from a web or FTP server; if it is not, then you can create a temporary VM to host the ISO file. After adding the ISO, please wait for ten to fifteen minutes to allow time for the download to complete; depending on the size of the file and the download speed, this process may take significantly longer.
- Provision the VM: create a new VM from the ISO file.
- Install the OS: once the VM is ready, go to the VM management page and select VNC connection. From here, complete installation of the operating system.
- Note that you should delete any existing partitions on the disk when installing, otherwise you may encounter issues like "partition in use" or "grub-install failed"; when in doubt, use guided partitioning
- Swap the boot order: hit Swap boot order so that the VM boots to the first disk instead of to the CD-ROM ISO.
Taking a snapshot
You may also want to provision more virtual machines from the ISO. Make sure that the boot order has been swapped so that the VM is set to boot to the first disk and not the ISO image. Then, enter a name for the snapshot and hit Snapshot. Both live snapshots, which are performed while the VM is online, and cold snapshots, which are performed while the VM is shutoff, can be performed.
When the snapshot is ready, you can provision additional VM from it as usual.