[SOLVED] Change/remove hookscript from LXC Container

Sebastian Schubert

Well-Known Member
Aug 28, 2017
67
12
48
45
Hi,

is there another way for removing/changing a container hookscript than using vi on the container conf? I'd like to use pct for that or the WebUI (Proxmox 6.4)
 
hi,

yes you can use pct:

Code:
# add
pct set CTID --hookscript local:snippets/test.pl
# delete
pct set CTID --delete hookscript

hope this helps
 
  • Like
Reactions: Sebastian Schubert

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!