]> git.proxmox.com Git - mirror_lxc.git/commit
Complete rework of lxc-fedora template
authorReto Gantenbein <reto.gantenbein@linuxmonk.ch>
Sat, 31 Dec 2016 00:43:10 +0000 (01:43 +0100)
committerReto Gantenbein <reto.gantenbein@linuxmonk.ch>
Sat, 31 Dec 2016 01:26:15 +0000 (02:26 +0100)
commit3d7aa7887ac4ff1a1b01bdfcb5954688b7884c1b
tree93e9382faf73d74c9e552da4bc464af742b4dcd0
parentedef9b0e082b816d624d4dbfbcb3d0ee4e0a37a1
Complete rework of lxc-fedora template

Heavily refactored version of the Fedora container creation template.
Removed compatibility to unsupported Fedora releases including sysvinit
and yum stuff. Added new commandline arguments found in other templates:

  --mirror   : To set custom HTTP(s) Fedora download mirror
  --packages : List of custom packages to install into a new container
  --debug    : Run with shell script with 'set -x'

There are also some new environment variables which can be used to
customize the template behaviour. See --help output.

Supports Fedora >=24. By default Fedora 25 will be installed except on
Fedora hosts, where the host release is taken. To simplify the code
path (or at least not make it more complex) all non-Fedora hosts will
now use the LiveOS-image based bootstrap environment even when they
would natively support rpm, yum or even dnf (e.g. Gentoo, CentOS).

Mainly runs systemd services by default (journald, networkd, resolved
logind).

Signed-off-by: Reto Gantenbein <reto.gantenbein@linuxmonk.ch>
templates/Makefile.am
templates/lxc-fedora.in [new file with mode: 0644]