Yes, config drive works with shared networks.  Infact, we had to switch to using configdrive exclusively for cloud-init due to regressions in RHEL10-based distros even for networks with virtual routers.  Just don't forget to enable ConfigDrive under Network Service Providers for your physical network in your zone config (not sure why its not enabled by default).

I can't speak to self-destruction of the cloud-init, but I do agree there should be some sort of first-boot-only option for cloud-init where it will detach itself.


On 2/13/26 9:49 AM, Joann Mõndresku wrote:
Hello.

We're looking at potential options for using Shared networks with ConfigDrive 
without Virtual Routers.
Has anyone pulled this off prior? Are there any limitations we should be aware 
of before even trying?
Does ConfigDrive also involve IP configuration info when using it with Shared 
network?
 From what we've seen in L2-type networks, configdrive iso remains attached to the VM - 
when mounted it contains plaintext root password - is there a way to also instruct 
cloud-init and CloudStack to "self-destruct" that info?
Our environment is built with XCP-ng.


Lugupidamisega / Best regards,

Joann Mõndresku



Süsteemiadministraator | Systems Administrator | [email protected]

WaveCom AS | ISO 9001, 27001 & 27017 Certified DC and Cloud services
Endla 16, Tallinn 10142 | www.wavecom.ee | www.facebook.com/wavecom.ee

Reply via email to