From: Stéphane Graber Date: Wed, 22 Mar 2017 21:18:47 +0000 (-0400) Subject: fedora: Fix i386 handling X-Git-Tag: lxc-2.1.0~170^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1486%2Fhead;p=thirdparty%2Flxc.git fedora: Fix i386 handling Signed-off-by: Stéphane Graber --- diff --git a/templates/lxc-fedora.in b/templates/lxc-fedora.in index 776ea68d0..44e7cef02 100644 --- a/templates/lxc-fedora.in +++ b/templates/lxc-fedora.in @@ -221,7 +221,7 @@ to force a new download. CHROOT_DIR="$(pwd)" CHROOT_CMD="chroot ${CHROOT_DIR} " INSTALL_ROOT="/" - if ! setup_repositories "${cache}" "${arch}" "${FEDORA_RELEASE_DEFAULT}" "${mirror}" + if ! setup_repositories "${cache}" "${basearch}" "${FEDORA_RELEASE_DEFAULT}" "${mirror}" then echo "Error: Failed to configure repositories in ${CHROOT_DIR}${INSTALL_ROOT}" exit 1 @@ -938,7 +938,7 @@ Template specific options can be passed to lxc-create after a '--' like this: Template options: - -a, --arch Define what arch the container will be [i686,x86_64] + -a, --arch Define what arch the container will be [i386,x86_64] -c, --clean Clean bootstrap and download cache -d, --debug Run with 'set -x' to debug errors --fqdn Fully qualified domain name (FQDN)