Custom image creation

Hello,

I would like to create some news images for my ONE server. I want to create them using ISO files and, then, mounting first ISO as “CD-ROM”, adding a new “generic store datablock” with “persistent=yes” and, when installation ends, remove instance and change persistent to “no”. However, if I configure network in DHCP mode, instance does not receive any IP addres (although Sunstone shows instance and its assigned IP) and I can’t connect with SSH. I have NO installed any “cloud-init” package for customization. My purppose is create a new image similar to the images I can download from “Storage --> Apps”.

Could anyboyd help me?

Thanks.

hi,

I think you need to install the opennebula context-tools to be able to send stuff from opennebula to the VM (like SSH key, hostname, etc)

see here: https://github.com/OpenNebula/addon-context-linux

and see the docs here: http://docs.opennebula.org/5.4/operation/vm_setup/kvm.html
(assuming you’re using KVM)

hope this helps!

1 Like