Jump to content

Photo

Option to run script on service suspension/termination

Proxmox Provisioning Module scripts

  • Please log in to reply
2 replies to this topic

#1 demianb

demianb

    Newbie

  • Members
  • Pip
  • 1 posts
  • LocationManila, Philippines

Posted 28 July 2017 - 03:16 AM

Is it possible to run the scripts on service suspension/termination of the clients LXC/KVM? Can't seem to find it anywhere.



#2 NotNulled

NotNulled

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 30 January 2018 - 01:23 AM

I dont know why this isnt answered, in the VM Setup in the module, autoprovisioning, in the "scripts" tab you can setup scripts for post suspend or post terminate:

 

Screen-Shot-2018-01-29-at-22.20.10a41186



#3 hremix

hremix

    Member

  • Members
  • PipPip
  • 10 posts

Posted 19 July 2018 - 08:30 AM

Can anyone provide a sample script URL? I tried this but it's not working... script0 = /var/lib/vz/test_script.sh 

 

I'm not sure how and where script should be located in the node for it to be executed.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Check your Pings