[TUTORIAL] HOWTO: Scripts to make cloudbase work like cloudinit for your windows based instances


New Member
hi gecoit.
I will recive error with dir "Program Files (x86) " not found ,when i run ModifyConf.ps1 on x86 system.
View attachment 37072
Hey, I think it's OS 32-64 bit detection problem. Try changing this line:
$fileNames = Get-ChildItem "C:\Program Files (x86)\Cloudbase Solutions\Cloudbase-Init\conf" -Recurse | select -expand fullname
to this
$fileNames = Get-ChildItem "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\conf" -Recurse | select -expand fullname
Can you tell me if your virtual machine is indeed 32bit so I can update the script?


New Member
Upstreaming likely would've prevented the mentioned issue, which was triggered by a recent refactoring.
You can use this file to manually add the patch to the new version, there are also explications on what every function does.

If you already have the patches and want to contribute back, why not upstream it?

Hello everyone, sorry for the late reply. We are a bit busy with a lot of projects going on.

So we are actually using this patch with 6.4 in production. We have done the tests for version 7.1 in a lab environment, but we are not in production with 7.1 or 7.2.

We have spoken about up streaming it, but I suppose there are some points that need to be treated in order to make a commit. Like clear text password and readopting to version 7.2 etc. We actually don't really have time to do it right now, but will seek an opportunity to do it in the future.
Last edited:
  • Like
Reactions: Bruno Garcia


The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!