]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
fix RELEAE_URL to not hardcode the arch
authorInformatiQ <rhanna@informatiq.org>
Wed, 13 Jul 2011 21:41:03 +0000 (00:41 +0300)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Thu, 11 Aug 2011 15:19:56 +0000 (17:19 +0200)
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
templates/lxc-fedora.in

index c29290831b59f7c1b5f80f6af7ea6e5a25eb4a17..81f8bc46eacbac347219244795c9c9efa790c8eb 100644 (file)
@@ -111,7 +111,7 @@ download_fedora()
     echo "Downloading fedora minimal ..."
     YUM="yum --installroot $INSTALL_ROOT -y --nogpgcheck"
     PKG_LIST="yum initscripts passwd rsyslog vim-minimal dhclient chkconfig rootfiles policycoreutils"
-    RELEASE_URL="http://ftp.funet.fi/pub/mirrors/fedora.redhat.com/pub/fedora/linux/releases/$release/Everything/x86_64/os/Packages/fedora-release-$release-1.noarch.rpm"
+    RELEASE_URL="http://ftp.funet.fi/pub/mirrors/fedora.redhat.com/pub/fedora/linux/releases/$release/Everything/$arch/os/Packages/fedora-release-$release-1.noarch.rpm"
     curl $RELEASE_URL > $INSTALL_ROOT/fedora-release-$release.noarch.rpm
 
     mkdir -p $INSTALL_ROOT/var/lib/rpm