You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by "sandabot (via GitHub)" <gi...@apache.org> on 2025/11/25 15:41:40 UTC

[D] How to create OVA Templates for VMware [cloudstack]

GitHub user sandabot created a discussion: How to create OVA Templates for VMware

Since there's so little available resources for .ova cloud images that should be compatible with cloudstack, I tried creating my own.

I booted an Ubuntu iso on vmware, installed cloud-config, prepared everything, shut down the VM, exported the OVF package, converted the bundle to a single OVA file with ovftool then registered the template into cloudstack.

When booting, I get kernel panic everytime, so I'm assuming it's just some unconfigured disk. 

My question is: what's the proper way to create Cloudstack & VMware compatible OVA templates, with cloud-config, that will pull their configuration from cloudstack?

I've only seen Ubuntu having an official .ova cloud template, but mounting it won't get configured, I'm assuming it doesn't have cloud-config or is just not compatible with cloudstack since it won't configure the network, or add a ssh key, or pull user data. I mean this one https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-amd64.ova . And I can't check since there's no way to authenticate into this template without password configuration or ssh key.

I know that downloading premade templates from the internet is bad practice, but where can I get some compatible .OVA templates for VMware? 

GitHub link: https://github.com/apache/cloudstack/discussions/12134

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] How to create OVA Templates for VMware [cloudstack]

Posted by "ingox (via GitHub)" <gi...@apache.org>.
GitHub user ingox added a comment to the discussion: How to create OVA Templates for VMware

To be able to login to predefined images you need to have "password enabled" turned on in your template. Once the VM got deployed you'll get a password you can use to login.

If you create your own OVA files, did you try to install the VMware tools for Linux?
https://www.liquidweb.com/blog/how-to-install-vmware-tools-ubuntu/

GitHub link: https://github.com/apache/cloudstack/discussions/12134#discussioncomment-15079638

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] How to create OVA Templates for VMware [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
GitHub user weizhouapache added a comment to the discussion: How to create OVA Templates for VMware

> I booted an Ubuntu iso on vmware, installed cloud-config, prepared everything, shut down the VM, exported the OVF package, converted the bundle to a single OVA file with ovftool then registered the template into cloudstack.

you can create a template from the ROOT volume when the VM is stopped

GitHub link: https://github.com/apache/cloudstack/discussions/12134#discussioncomment-15083259

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] How to create OVA Templates for VMware [cloudstack]

Posted by "sandabot (via GitHub)" <gi...@apache.org>.
GitHub user sandabot closed a discussion: How to create OVA Templates for VMware

Since there's so little available resources for .ova cloud images that should be compatible with cloudstack, I tried creating my own.

I booted an Ubuntu iso on vmware, installed cloud-config, prepared everything, shut down the VM, exported the OVF package, converted the bundle to a single OVA file with ovftool then registered the template into cloudstack.

When booting, I get kernel panic everytime, so I'm assuming it's just some unconfigured disk. 

My question is: what's the proper way to create Cloudstack & VMware compatible OVA templates, with cloud-config, that will pull their configuration from cloudstack?

I've only seen Ubuntu having an official .ova cloud template, but mounting it won't get configured, I'm assuming it doesn't have cloud-config or is just not compatible with cloudstack since it won't configure the network, or add a ssh key, or pull user data. I mean this one https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-amd64.ova . And I can't check since there's no way to authenticate into this template without password configuration or ssh key.

I know that downloading premade templates from the internet is bad practice, but where can I get some compatible .OVA templates for VMware? 

GitHub link: https://github.com/apache/cloudstack/discussions/12134

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org