Hey Team
So I know that we can make a single selected container have PPP working by simply adding into their XXX.conf file the following:
However what we want to do is that all existing and new CTs will have PPP enabled the same way, is there any non-hacky way (i.e cronjob to grep and add the lines manually) to do this?
I tried adding the above to /usr/share/lxc/config/common.conf.d/02-enable-ppp.conf but then I get the following errors when trying to do anything with PCT:
Does anyone have a direction we can do with this?
So I know that we can make a single selected container have PPP working by simply adding into their XXX.conf file the following:
Code:
lxc.cgroup.devices.allow: c 108:0 rwm
lxc.mount.entry: /dev/ppp dev/ppp none bind,create=file
However what we want to do is that all existing and new CTs will have PPP enabled the same way, is there any non-hacky way (i.e cronjob to grep and add the lines manually) to do this?
I tried adding the above to /usr/share/lxc/config/common.conf.d/02-enable-ppp.conf but then I get the following errors when trying to do anything with PCT:
Code:
$ ~ pct status 203
Failed to load config for 203
Failure to retrieve information on /var/lib/lxc:203
command 'lxc-info -n 203 -p' failed: exit code 1
Does anyone have a direction we can do with this?