- Arch: lxc-create ohne Template
·
Archlinuxlxcansible
· Normalerweise werden LXC Container mit sogenannten Templates erstellt. Das Programm lxc-create hat dieses Template genommen und daraus dann einen Container erstellt. Die Upstream Entwickler haben diese Methode aber deprecated. Zitat aus dem Arch Wiki (🖇️ 🔐) : “Containers are built using lxc-create. With the release of lxc-3.0.0-1, upstream has deprecated locally stored templates.”.
Das schöne daran war, dass man dem Template Parameter mitgeben konnte, wie zum Beispiel zu installierende Pakete und das root Passwort.
- LXC: Missing file archlinux.common.conf
·
Archlinuxlxc
· Since the last update of LXC (I updated to LXC 3.0.0 (🖇️ 🔐) on Arch Linux there is no file archlinux.common.conf anymore. This bricked all of my containers.
Lots of errors First was a simple lxc-ls -f. But that just printed out for every container something like this:
[root@homeserver veloc1ty]# lxc-ls -f lxc-ls: parse.c: lxc_file_for_each_line_mmap: 102 Failed to parse config: lxc.include = /usr/share/lxc/config/archlinux.common.conf Failed to load config for dns1.veloc1ty.lan I was not able to log into the container via ssh anymore.