Re: [lxc-users] Building custom LXC templates
Yes but you can run it in a VM where you have superuser privileges. The goal is simply to obtain the two files meta.tar.xz and rootfs.tar.xz. Oh, I see. I was under the impression that I would get a template script, similar to what exists under /usr/share/lxc/templates. Are those hand-written? I don't know but you can modify them by hand in order to adapt the templates to your needs. What do you mean by "this [...] builds LXC"? The "build-image" script appears to clone, configure and make LXC from some repository, instead of using the system version. This is probably the right thing to do for CI of LXC itself, but not for downstream users. Ok, I understand. Yes, this is the way these tools work. I don't really care about that because I run all this stuff in a VM just to obtain the above files. If the script wants to build some stuff, it is ok for me ;-) But you are right, there should be some easier way. Xavier ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users
Re: [lxc-users] Building custom LXC templates
> Yes but you can run it in a VM where you have superuser privileges. The > goal is simply to obtain the two files meta.tar.xz and rootfs.tar.xz. Oh, I see. I was under the impression that I would get a template script, similar to what exists under /usr/share/lxc/templates. Are those hand-written? > What do you mean by "this [...] builds LXC"? The "build-image" script appears to clone, configure and make LXC from some repository, instead of using the system version. This is probably the right thing to do for CI of LXC itself, but not for downstream users. Cheers Lars ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users
Re: [lxc-users] Building custom LXC templates
a) I need superuser privileges to run this? Running this in CI would be ruled out then, and Yes but you can run it in a VM where you have superuser privileges. The goal is simply to obtain the two files meta.tar.xz and rootfs.tar.xz. b) this downloads and builds LXC from master? What do you mean by "this [...] builds LXC"? Xavier ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users