Difference between revisions of "How To Build New OpenNebula Image Using ISO file"

From CipherSpace Client Wiki
Jump to navigation Jump to search
Line 7: Line 7:
#:* Configure the boot order in the template in "OS Booting" menu. Tick the ISO image and move it, using the arrows buttons, in the first position.
#:* Configure the boot order in the template in "OS Booting" menu. Tick the ISO image and move it, using the arrows buttons, in the first position.
#:[[File:template_bootorder.png|thumb|none|upright=2]]
#:[[File:template_bootorder.png|thumb|none|upright=2]]
#:[[File:template_bootorderchanged.png|thumb|none|upright=2]]
#:<br>
#:<br>
#Click on the template just created and press "Instantiate" button to power on the virtual machine.
#Click on the template just created and press "Instantiate" button to power on the virtual machine.
Line 13: Line 14:
#Install the operating system.  
#Install the operating system.  
#:Once the operating system is installed, [[How_To_Manage_OpenNebula_Virtual_Machines#Shutdown_a_Virtual_Machine | shutdown]] the virtual machine.
#:Once the operating system is installed, [[How_To_Manage_OpenNebula_Virtual_Machines#Shutdown_a_Virtual_Machine | shutdown]] the virtual machine.
#Go to “Virtual Resources” in the left menu, click on “Images” in the drop down menu and select the disk image on which you installed the operating system.
#Go to “Storage” in the left menu, click on “VMs” in the drop down menu and select the disk image on which you installed the operating system.
#Click on the [[File:Img_changetype.png|50px]] icon next to the "type" field and modify the image type from "DATABLOCK" to "OS".
#Click on the [[File:Img_changetype.png|50px]] icon next to the "type" field and modify the image type from "DATABLOCK" to "OS".
#:[[File:img_toos.png|thumb|none|upright=1.5]]
#:[[File:img_toos.png|thumb|none|upright=1.5]]
#:<br>
#:<br>
#Go to “Virtual Resources” in the left menu, click on “Templates” in the drop down menu and select the template used to instantiate the virtual machine.
#Go to “Templates” in the left menu, click on “VMs” in the drop down menu and select the template used to instantiate the virtual machine.
#:* Remove the uploaded ISO file  in "Storage" menu
#:* Remove the uploaded ISO file  in "Storage" menu
#:* "OS Booting" menu change "1st boot" to nothing.
#:<br>
#:[[File:Template_afterinstall.png|thumb|none|upright=2]]
#:Now you can use this template to instantiate a VM.
#:Now you can use this template to instantiate a VM.

Revision as of 08:00, 15 December 2016

  1. You can use an existing ISO image or you can upload a new one.
  2. Create an empty disk image where the operating system will be installed.
  3. Create or modify a template. This template will then be used to instantiate a virtual machine on which the operating system will be install.
    • Add the ISO image and the empty image in "Storage" menu
    • Configure the boot order in the template in "OS Booting" menu. Tick the ISO image and move it, using the arrows buttons, in the first position.
    Template bootorder.png
    Template bootorderchanged.png

  4. Click on the template just created and press "Instantiate" button to power on the virtual machine.
    Vm instantiate.png

  5. Install the operating system.
    Once the operating system is installed, shutdown the virtual machine.
  6. Go to “Storage” in the left menu, click on “VMs” in the drop down menu and select the disk image on which you installed the operating system.
  7. Click on the Img changetype.png icon next to the "type" field and modify the image type from "DATABLOCK" to "OS".
    Img toos.png

  8. Go to “Templates” in the left menu, click on “VMs” in the drop down menu and select the template used to instantiate the virtual machine.
    • Remove the uploaded ISO file in "Storage" menu

    Now you can use this template to instantiate a VM.