Search results

  1. P

    Combining custom cloud init with auto-generated

    Already requested: https://bugzilla.proxmox.com/show_bug.cgi?id=2429 Thanks :)
  2. P

    Combining custom cloud init with auto-generated

    Ok. That's a pity. Where can I send a feature request ? FYi, I think the best would be to combine, both custom and generated one cloud-init file. Therefore, I could set some config in GUI and use custom part from a file.
  3. P

    Combining custom cloud init with auto-generated

    Unfortunately, it won't work either. I did sth like this in my hookscript `sed -i '/cicustom:/c\\cicustom: user=local:snippets/cloudinit-$vmid' /etc/pve/qemu-server/$vmid.conf It overwrites old cicustom file from a vm config (which is called cloudinit-empty). But it does it after VM is started...
  4. P

    Combining custom cloud init with auto-generated

    Hmm, I tried this and it seems like it stills try to acquire lock: system("qm set $vmid --skiplock --cicustom user=local:snippets/cloudinit-$vmid"); sleep 5; and I still get trying to acquire lock... can't lock file '/var/lock/qemu-server/lock-101.conf' - got timeout
  5. P

    Combining custom cloud init with auto-generated

    Yeah, that's what I wanted to avoid. Manual step. :) I was hoping to just clone a VM in GUI, start and it is all ready. Is there maybe a some way to attach some script to clone procedure ? and attach empty cloutinit-$vmid file to newly cloned vm
  6. P

    Combining custom cloud init with auto-generated

    Hmm, thats one option, however it would not work properly with a template in some cases. If I attach hookscript and clcustom to a template and then clone it , all new VMs, based on it, would use the same cicustom file. So everytime I start a new VM, this shared file would be edited. Therefore...
  7. P

    Combining custom cloud init with auto-generated

    Hi, I have a problem with this kind of approach, I cannot edit already started VM. My code looks like this if ($phase eq 'pre-start') { # First phase 'pre-start' will be executed before the guest # ist started. Exiting with a code != 0 will abort the start print "$vmid is...
  8. P

    Combining custom cloud init with auto-generated

    I am not sure what do you mean to load from a different URL. I set vm to use a cicustom from a snippet file. Wow, great thing, I did not know about hookscripts. I will try to add cicustom file snippet generation in pre-start phase. Hmm, but I guess I will have to store a cicustom snippet file...
  9. P

    Combining custom cloud init with auto-generated

    Hmm I know these commands, but it would only give me a console way to pass this data. Not via GUI, like with simple clone feature available in Proxmox :/ and the best way IMHO would be with a custom and an autogenerated config merge with cloud-init.
  10. P

    Combining custom cloud init with auto-generated

    Hmm, but I want to provide these data to the VM. My template VM is cloud-init ready image provided by Ubuntu/CentOS and I want set both hostname and additional user-data like puppet/apt configuration. Hostname, in auto-generated user-data, is set based on VM Name, and I would like to combine it...
  11. P

    Combining custom cloud init with auto-generated

    Hi, Is it possible to somehow combine a custom cloud-init with an auto generated one ? I thought that maybe if I do not set values that are autogenerated in my custom file, I will get them from ones I set in GUI. For example in my cicustom file for user-data I set some puppet and apt config...
  12. P

    Proxmox 6.0 - migration issue

    Bug report created: https://bugzilla.proxmox.com/show_bug.cgi?id=2394
  13. P

    Proxmox 6.0 - migration issue

    Ok, it seems like this is a bug only in GUI. I was able to do this from console, but there is a small error. It was unable to remove this cloudinit image from a source node. I found vm-191-cloudinit image and removed it manually.
  14. P

    Proxmox 6.0 - migration issue

    Just to make it worse, I am not able to remove Cloud init Device from a VM, without stoping it. So this as a workaround is pretty terrible.
  15. P

    Proxmox 6.0 - migration issue

    Hi, I am trying to do an online/offline migration of the VM, and I get an error when I have a cloud-init device attached. I read this thread https://forum.proxmox.com/threads/vm-live-migration-fails-when-cloud-init-image-is-attached.44485/ and I thought this issue was fixed. Is it suppose to...
  16. P

    Cloud-init userdata support?

    @mira Thank you. Is there any ETA for Proxmox 6.0 version ?
  17. P

    Cloud-init userdata support?

    @mira Hi, I see that this patch is already available in 5.4 version. I see that for qm create there is --cicustom [meta=<volume>] [,network=<volume>] [,user=<volume>] cloud-init: Specify custom files to replace the automatically generated ones at start. But is there a way to...
  18. P

    Proxmox Cluster and two seperate Ceph clusters

    Hi, At this moment, I have two different proxmox clusters configured in two different Data centers. Those DCs are interconnected with each other and I've been thinking about creating one big Proxmox cluster between them. However, in both of these clusters I ran ceph. Is it possible to have two...
  19. P

    Proxmox VE 3.4 released!

    Nice feature, but is it possible for example to migrate chosen group of vms ? Or can we only move all of them at the same time ? From the video I guess all, right ?
  20. P

    Backup failed for vm running in Ceph

    Hi, Hmm so the only thing that I have in mind right now are some kind of network issues with current switches we are using. Ok and what about Ceph giant version (I am running firefly version), I know that it is the latest stable ceph release, but do you recommend it ? If yes, is the only right...

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 yours easily in our online shop.

Buy now!