Open tpokorra opened 7 years ago
the image from https://jenkins.linuxcontainers.org/view/LXC/view/LXC%20templates/job/lxc-template-fedora/ does not have the network installed, no yum.conf, etc
the squashfs img cannot be downloaded. use the latest https://github.com/lxc/lxc/blob/master/templates/lxc-fedora.in, put it in /usr/share/lxc/templates/lxc-fedora, replace the following lines:
local_state_dir="/var" lxc_path="/var/lib/lxc" lxc_template_config="/usr/share/lxc/config" lxc_default_conf="/etc/lxc/default.conf"
this still gives an error:
Downloading 'https://mirror.netcologne.de/fedora/linux/releases/25/Everything/x86_64/os//Packages/f/fedora-repos-25-1.noarch.rpm ... warning: /fedora-release-25-1.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID fdb19c98: NOKEY warning: Unable to get systemd shutdown inhibition lock Preparing... ################################# [100%] Updating / installing... 1:fedora-repos-25-1 ################################# [ 50%] 2:fedora-release-25-1 ################################# [100%] Error: Failed to synchronize cache for repo 'fedora' Error: Build of bootstrap environment failed. Keeping directory /var/cache/lxc/fedora/bootstrap_VaRCix for your investigation. Error: Fedora Bootstrap setup failed Error: Failed to download Fedora 26 (x86_64) Error: Failed to create Fedora container
same on Ubuntu host, with Fedora 27 guest
the image from https://jenkins.linuxcontainers.org/view/LXC/view/LXC%20templates/job/lxc-template-fedora/ does not have the network installed, no yum.conf, etc
the squashfs img cannot be downloaded. use the latest https://github.com/lxc/lxc/blob/master/templates/lxc-fedora.in, put it in /usr/share/lxc/templates/lxc-fedora, replace the following lines:
this still gives an error: