Quoting Lao Andy ([email protected]): > On Mon, Aug 21, 2017 at 10:39 PM, Serge E. Hallyn <[email protected]> wrote: > > > > Quoting 加油站加 ([email protected]): > > > Hi folks, > > > > > > Could anyone kindly tell me how to modify the init_cmd? > > > > > > I tried: > > > root@bob-VirtualBox:~# lxc config set aaaa lxc.init.cmd /init > > > error: Bad key: lxc.init.cmd > > > root@bob-VirtualBox:~# lxc config set aaaa lxc.init_cmd /init > > > error: Bad key: lxc.init_cmd > > > root@bob-VirtualBox:~# lxc --version > > > 2.16 > > > root@bob-VirtualBox:~# lxd --version > > > 2.16 > > > > You can set it in raw.lxc. > > > > Thanks, it works. > > By the way, how to set multiple raw.lxc lines? > I set two different raw.lxc, but only one setting was saved!
Yeah, you have to make it a single multiline. This issue https://github.com/lxc/lxd/issues/1259 is a good guide. _______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
