I’m writing a new charm to deploy our application. Our provider Vcenter, and our application needs to run in KVM under the ESXi VM - So, I need to enable nested virtualization on the machines that juju spawns.
I can’t find how to instruct juju to enable that setting on the created VMs. Is somebody aware of how to do so?
I don’t believe so at this stage. It should be possible to enable nested virtualization via the vSphere Web Client, however. @babbageclunk could you please correct me?
It’s possible that enabling nested virtualization for specific instances would enable KVM instance creation for Juju to work via its standard syntax:
Sorry @fsedano, as far as I know @timClicks is right - at the moment there’s no way to configure the VM to enable nested virtualisation from Juju. Once it’s enabled though, deploying to KVMs inside machines should work.
Thanks folks. I’m pretty sure that would work, but it would defeat one of the main advantages of using juju for me - Automatic machine creation.
A sightly different idea (but still a hack) would be to enable nested virtualization on the template. Still, fragile if for any reason template is updated