"pct exec" on remote node

Catwoolfii

Renowned Member
Nov 6, 2016
41
2
73
I'm looking for a way to execute commands in a container on a remote node.
If I try "pct exec 100" I get:
Code:
Configuration file 'nodes/pve-cl01/lxc/100.conf' does not exist
Maybe it is possible to specify the path to the configuration file via extra-args? Or is it not possible using pct?
 
Use ssh to "switch" to the right node. ssh theothernode pct exec 100 will probably work.
 
  • Like
Reactions: Kingneutron