hook script

  1. P

    PVE Tokens, API, and Hookscripts

    I'm trying to use Ansible to manage VMs in Proxmox - specifically attach hookscripts as necessary. The hookscripts are valid and attach just fine via "qm set <vmid> --hookscript..." when run on the local PVE node. The issue is going through the Ansible provider, or rather the API in general I...
  2. F

    Backup script hook missing events?

    Dear all, im running pve 7.4 in a 6 node ceph cluster and active ha manager. We are currently running nightly backups. My goal is to stop specific services on a windows guest vm during the fs-freeze command which is called during snapshot backup to prevent database corruption. As we have the...
  3. A

    Terraform proxmox lxc container startup script

    How do I run a simple shell script after applying my terraform on proxmox? There is no "provisioner" for the lxc
  4. S

    proxmox cluster live migration hooks and xxx.conf files

    Hi, I use exec-cmds pre-start to mount virtio from an nfs share. I am finding that when I do a live migration the 106.conf does not exist on the node at the point that I need it ? 19:53:08 Action phase: pre-start /mnt/pve/NFSShare/snippets/exec-cmds: line 46: /etc/pve/qemu-server/106.conf: No...
  5. A

    [SOLVED] Running commands on guest using hookscript fails (Error msg: QEMU guest agent is not running)

    I'm having trouble using the hookscript to run commands on the guest. The error I'm getting is QEMU guest agent is not running. However, I know this is wrong, since I can run the same commands after the VM is booted just fine. I thought it might be a problem with the QEMU agent needing extra...
  6. N

    [SOLVED] Proxmox PCI Passthrough

    Hello, i have some Problems with my PCI Passthrough... Im passing a Thunderboltcard through and sometimes when i disconnect a thunderbolt device and than start the VM my HOST wont respond over Network, i think its because after disconnecting a Thunderbolt device it also disappears form the...
  7. F

    Noob backup strategy

    TL;DR Is copying the datastore (the files) of PBS to a remote destination a sufficient backup solution? Can I use them files to recreate my VM on a new system if the old fails? How can approach automatically running a rclone command when a backup is done without knowing anything about scripting...
  8. E

    vzdump hookscript error 'INFO: find: -exec: no terminating ";" or "+" and find: missing argument to -exec''

    Good day all, I might be doing something wrong that's very simple, I get the following error in the log file: find: missing argument to -exec or INFO: find: -exec: no terminating ";" or "+" These errors I get on proxmox 5.4 and newer, but on the proxmox 4.xx version the hookscript does what...