Hi
How can i set below command via api?
root@yak:~# lxc config device set c1 eth0 security.mac_filtering true
You would do GET /1.0/containers/c1
, then alter the relevant devices and push the modified data with PUT /1.0/containers/c1
.
Note that passing --debug
to the command line will usually expose most of that.
1 Like