Recent content by cansoylu

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

    I've added those lines in manual patch. qemu-server is the package that installs and updates those files.
  2. [TUTORIAL] HOWTO: Scripts to make cloudbase work like cloudinit for your windows based instances

    You can use this file to manually add the patch to the new version, there are also explications on what every function does. https://git.geco-it.net/GECO-IT-PUBLIC/Geco-Cloudbase-Init/src/branch/master/MANUALPATCH.md Hello everyone, sorry for the late reply. We are a bit busy with a lot of...
  3. [TUTORIAL] HOWTO: Scripts to make cloudbase work like cloudinit for your windows based instances

    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...
  4. [TUTORIAL] HOWTO: Scripts to make cloudbase work like cloudinit for your windows based instances

    Cloudbase-Init relies on the UUID, Instance ID, that we give it in order to decide if it needs to run or not. If the given instance already exist in its cache files it won't run, if not it will run. I don't recommend patching cloudbase-init since it has lots of inheritances between files, and...
  5. [TUTORIAL] HOWTO: Scripts to make cloudbase work like cloudinit for your windows based instances

    Will check on the first two ones, the eject drive is an issue with cloudbase-init which only runs when metadata has changed. I will see for a workaround on this. Thanks for reporting! :)
  6. [TUTORIAL] HOWTO: Scripts to make cloudbase work like cloudinit for your windows based instances

    Happy for you that it worked. Will be adding the restart proxmox part in the tutorial so nobody else misses it :D.
  7. [TUTORIAL] HOWTO: Scripts to make cloudbase work like cloudinit for your windows based instances

    Cloudinit has a user called cloudinit and it changes its password at every run. Since our version uses System user for the service and deletes the cloudinit user, it is normal that it shows that message. Can you provide more details; meta data contents, proxmox version, is the computer connected...
  8. [TUTORIAL] HOWTO: Scripts to make cloudbase work like cloudinit for your windows based instances

    Can you share with us the meta data file generated by the patched Proxmox and the logs you get from xterm.js console please.
  9. [TUTORIAL] windows cloud init working

    A friend tested this on win11 and it works fine. Read the other messages before asking anything, this link is just on top of your comment; https://forum.proxmox.com/threads/h...init-for-your-windows-based-instances.103375/
  10. [TUTORIAL] windows cloud init working

    We just shared the whole project that we finished. You guys can follow the wiki and download the files from our git. Everything works on pve6 and 7. I've rewritten the patch for a cleaner look and added a few fonctionalities and 3 scripts for some missing functionality on cloudbase-init. You can...
  11. [TUTORIAL] windows cloud init working

    Here it is, it activates the Administrator account if i dont enter user in cloudinit and it creates another account if i give in this case. 223 sub configdrive2_metadata { 224 my ($conf, $vmid, $user, $network) = @_; 225 my $uuid = Digest::SHA::sha1_hex($user.$network); 226...
  12. [TUTORIAL] windows cloud init working

    Thanks anyway but i just changed the proxmox patch to generate all the variables inside the meta dictionary in that file and that solved the issu. Now all of that seems to work well, i will try the ssh key injection and network config tomorrow.
  13. [TUTORIAL] windows cloud init working

    Well i have "Administrateur"(which is Administrator account in french windows), it is the default username that i have in the cloudbases conf file. I wanted to override it with my input from proxmox user in cloud init. My patch generates a json file with the correct variable which is...
  14. [TUTORIAL] windows cloud init working

    Okey so i was using the stable release, i looked in to service/openstack and didnt see the get_admin_username definition there, so i installed the continous (beta build). And it gives me this output on serial but doesnt create a user. pastebin serial link Well i looked through the pastebin and...
  15. [TUTORIAL] windows cloud init working

    Hello everyone, i edited the patch a bit and i successfully create a variable in the metadata json file. I am trying to push cloudbase to get the username from the metadata. I've looked into the baseopenstackservice.py to see which variable it looks for in the metadata; def...

About

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!