<div dir="ltr"><div><div><div><div><div><div><div><div><div>Hi all,<br><br></div>Alternative to Martin's way:<br><br></div>Launch virt-manager on any Linux system (you can install virt-manager on CentOS)<br><br></div>In the virt-manager, create a new VM, customize the disk size, select the CentOS installer ISO image, and start performing the installation.<br>

<br></div>Note where you save the virtual disk for this VM.<br><br></div>Once installation finish, you will have a fully installed VM. You will use this virtual disk (usually qcow format) and upload it into Opennebula. This is your gold image.<br>

<br></div>After that, you need to configure your VM template in Opennebula. Here you need to define your NIC, memory, and point the disk information to your gold image that you have uploaded. You need to know if you are using persistence or non-persistence. Persistence will modify your gold image. Non-persistence will create a clone of your gold image, and changes will be written to that clone. That depends on your Opennebula storage architecture too.<br>

<br></div>Amier, I'm Malaysian, and working in Cyberjaya.<br><br></div>If you want, maybe we can have a face-to-face knowledge sharing session, so that we can discuss this further.<br><br></div>Thanks.<br><div><div><div>

<div><br><br><br><div><div><br><br><br><div><div><div><div><div><br><br><br><br><br></div></div></div></div></div></div></div></div></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Nov 8, 2013 at 6:09 PM, Martin Alfke <span dir="ltr"><<a href="mailto:tuxmea@gmail.com" target="_blank">tuxmea@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Amier,<br>
<br>
we create Images in the following way:<br>
<br>
1. create qcow2 disk:<br>
qemu-img create -f qcow2 base_centos.img 10G<br>
<br>
2. fetch installer image:<br>
wget <centos mirror>/centos6/6/os/x86_64/images/install.img<br>
<br>
3. install image:<br>
qemu-system-x86_46 -m 4096 -hda centos_base.img -cdrom install.img -boot d<br>
<br>
4. post install vm preparation:<br>
qemu-system-x86_46 -m 4096 -hda centos_base.img<br>
<br>
Within image:<br>
install acpid (needed to reboot/shutdown vm from open nebula management node)<br>
install one-context package<br>
<br>
5. upload image to opennebula<br>
attn: do not use sunstone for large images copied over network.<br>
copy image to open nebula management host (scp,..) and use local directory and image name.<br>
<br>
hth,<br>
<br>
Martin<br>
<div class="im HOEnZb"><br>
<br>
On 07 Nov 2013, at 18:21, Amier Anis <<a href="mailto:mymabma@gmail.com">mymabma@gmail.com</a>> wrote:<br>
<br>
> Dear Guys,<br>
><br>
> I'm still new with opennebula. I would like to know how to create images for my 100 vm using centos 6.4. In the images i need to install a few component and add a few users.<br>
><br>
> any ideas?<br>
><br>
> Thanks you.<br>
><br>
> Regards & Best Wishes,<br>
><br>
><br>
> .: Amier Anis :.<br>
> Mobile: <a href="tel:%2B6012-260-0819" value="+60122600819">+6012-260-0819</a><br>
><br>
</div><div class="im HOEnZb">> IMPORTANT:<br>
> This e-mail (including any attachment hereto) is intended solely for the addressee and is confidential and privileged. If this should have been sent to you in error, you are not to reproduce, distribute or take any action in reliance on it. Kindly notify us and delete the e-mail and all attachments immediately.<br>


><br>
> As e-mail and/or attachments may contain viruses and other interfering or damaging elements, the receipt and/or downloading of e-mail and/or attachments will be at your own risk and we accept no liability for any damage sustained as a result of any such viruses; you should carry out your own virus checks before opening any attachment.<br>


</div><div class="HOEnZb"><div class="h5">> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
> <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Sharuzzaman Ahmat Raslan
</div>