New Question

Revision history [back]

click to hide/show revision 1
initial version

where can i save user-data and meta-data files inside windows for nocloud datasource

Currently this is the way we use cloudinit to initialize linux VPS using nocloud data source:

I take kpartx partitions of the Linux VPS already having cloud-init and mount it on the host, then i create the meta-data & user-data files on the mounted guest root partition Eg. /mounted/path/on/host/var/lib/cloud/seed/nocloud/meta-data and /mounted/path/on/host/var/lib/cloud/seed/nocloud/user-data. Then i just save the files and unmount the vps and start the VPS.

I do this way, i know this is not the best way to initialize VPS, but this is more convenient with respect to our existing code.

So my question was is there any specific path in the windows to save the user-data and meta-data files? Are the per-boot scripts supported with cloudbase init if yes then where can I store the files inside the Windows filesystem

Thank you in advance for your kind support.

Sumeet boga (software developer)

where can i save user-data and meta-data files inside windows for nocloud datasource

Currently this is the way we use cloudinit to initialize linux VPS using nocloud data source:

I take kpartx partitions of the Linux VPS already having cloud-init package installed and mount it on the host, then i create the meta-data & user-data files on the mounted guest root partition Eg. /mounted/path/on/host/var/lib/cloud/seed/nocloud/meta-data and /mounted/path/on/host/var/lib/cloud/seed/nocloud/user-data. Then i just save the files and unmount the vps and start the VPS.

I do this way, i know this is not the best way to initialize VPS, but this is more convenient with respect to our existing code.

So my question was is there any specific path in the windows to save the user-data and meta-data files? Are the per-boot scripts supported with cloudbase init if yes then where can I store the files inside the Windows filesystem

Thank you in advance for your kind support.

Sumeet boga (software developer)

where can i save user-data and meta-data files inside windows for nocloud datasource

Currently for our project, this is the way we use cloudinit cloud-init to initialize linux Linux VPS using nocloud data source:

I take kpartx Firstly, we mount the partitions of the Linux VPS already having cloud-init package installed and mount it VPS on the host, host system, then i we simply create the user-data and meta-data & user-data files on the mounted guest root partition Eg. /mounted/path/on/host/var/lib/cloud/seed/nocloud/meta-data and /mounted/path/on/host/var/lib/cloud/seed/nocloud/user-data. Then i just VPS filesystem and save the files and unmount the vps and start the both of them on this path /mounted/path/on/host/var/lib/cloud/seed/nocloud/. After saving the file, we unount the VPS partitions from the host system and then reboot the VPS, now cloudinit initializes the VPS according to the metadata and the user-data config. This way we achieve the VPS initialization.

Is there any way we can do the same with the windows VPS.

I We do this way, i know this is not the best way to initialize VPS, but this is more convenient with respect to our existing code.

So my question was is there any specific path in the windows to save the user-data and meta-data files? Are the per-boot scripts supported with cloudbase init if yes init. If yes, then where can I store the files inside the Windows filesystem

Thank you in advance for your kind support.

Sumeet boga (software developer)