[lxc-users] How set lxc.init_cmd?

Serge E. Hallyn serge at hallyn.com
Mon Aug 21 14:39:05 UTC 2017


Quoting 加油站加 (yjfpb04 at gmail.com):
> Hi folks,
> 
> Could anyone kindly tell me how to modify the init_cmd?
> 
> I tried:
> root at bob-VirtualBox:~# lxc config set aaaa lxc.init.cmd /init
> error: Bad key: lxc.init.cmd
> root at bob-VirtualBox:~# lxc config set aaaa lxc.init_cmd /init
> error: Bad key: lxc.init_cmd
> root at bob-VirtualBox:~# lxc --version
> 2.16
> root at bob-VirtualBox:~# lxd --version
> 2.16

You can set it in raw.lxc.


More information about the lxc-users mailing list