[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