New Question

Revision history [back]

Cloudbase-init and Proxmox

Hello,

I'm totally confused!

When I for example want to set the password for the Administratar of a Windows 2022 server with the localscript 01ActivateAdministrator.py I see that admusername is not found in metadata.json

I my metadata.json I see this: {"networkconfig":{"contentpath":"/content/0000"},"uuid":"28e5ee06039c8398dab7774ff421f941899c8993","adminpass":"Test2024!"}

So I don't understand what the structure of meta_data.json should be for CloudBase and Windows.

I only see problems?? - network net set correct - rpc error when I try to set the fixed network (patched windows.py solved it maybe) - network card not working with static ip - ....

I have also a USER_DATA file with this content:

cloud-config

hostname: SRV1STPX02 manageetchosts: true fqdn: SRV1STPX02.home.roniesoft.Be user: administrator password: Test2024! chpasswd: expire: False users: - default package_upgrade: true

Must I use the user_data file? I do this already to add the computer to a domain.

Localscripts only support python???

Please give me some usefull info.

Proxmox 8.2.7 Cloudbase-init patched are there, but I don't know where to find the latest one.

Kr,

Roel Niesen