[one-users] Creating images how to
Martin Alfke
tuxmea at gmail.com
Tue Nov 12 06:36:20 PST 2013
??
Startup the image (mentioned in 4.) and use the system package manager to install packages.
On 12 Nov 2013, at 14:49, vishnu e divakaran <vishnued at gmail.com> wrote:
> Within image:
> install acpid (needed to reboot/shutdown vm from open nebula management node)
> install one-context package
>
> how to do this?
>
> On 08/11/2013, Martin Alfke <tuxmea at gmail.com> wrote:
>> Hi Amier,
>>
>> we create Images in the following way:
>>
>> 1. create qcow2 disk:
>> qemu-img create -f qcow2 base_centos.img 10G
>>
>> 2. fetch installer image:
>> wget <centos mirror>/centos6/6/os/x86_64/images/install.img
>>
>> 3. install image:
>> qemu-system-x86_46 -m 4096 -hda centos_base.img -cdrom install.img -boot d
>>
>> 4. post install vm preparation:
>> qemu-system-x86_46 -m 4096 -hda centos_base.img
>>
>> Within image:
>> install acpid (needed to reboot/shutdown vm from open nebula management
>> node)
>> install one-context package
>>
>> 5. upload image to opennebula
>> attn: do not use sunstone for large images copied over network.
>> copy image to open nebula management host (scp,..) and use local directory
>> and image name.
>>
>> hth,
>>
>> Martin
>>
>>
>> On 07 Nov 2013, at 18:21, Amier Anis <mymabma at gmail.com> wrote:
>>
>>> Dear Guys,
>>>
>>> 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.
>>>
>>> any ideas?
>>>
>>> Thanks you.
>>>
>>> Regards & Best Wishes,
>>>
>>>
>>> .: Amier Anis :.
>>> Mobile: +6012-260-0819
>>>
>>> IMPORTANT:
>>> 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.
>>>
>>> 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.
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
More information about the Users
mailing list