Skip to content

Commit

Permalink
Merge pull request #1486 from stgraber/master
Browse files Browse the repository at this point in the history
fedora: Fix i386 handling
  • Loading branch information
Christian Brauner committed Mar 22, 2017
2 parents 0ccaa85 + e8672a9 commit 69d47ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/lxc-fedora.in
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 69d47ee

Please sign in to comment.