From: Alexander Vladimirov Date: Fri, 16 Jan 2015 10:37:00 +0000 (+0700) Subject: lxc-centos: pass releasever parameter to yum X-Git-Tag: lxc-1.1.0.rc1~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97e1e9bbb2ba975a42692d959686ebfe1d3fd738;p=thirdparty%2Flxc.git lxc-centos: pass releasever parameter to yum Signed-off-by: Alexander Vladimirov Acked-by: Stéphane Graber --- diff --git a/templates/lxc-centos.in b/templates/lxc-centos.in index c7d2b892a..c2b4db601 100644 --- a/templates/lxc-centos.in +++ b/templates/lxc-centos.in @@ -409,7 +409,7 @@ download_centos() # download a mini centos into a cache echo "Downloading centos minimal ..." - YUM="yum --installroot $INSTALL_ROOT -y --nogpgcheck" + YUM="yum --installroot $INSTALL_ROOT -y --nogpgcheck --releasever=$release" PKG_LIST="yum initscripts passwd rsyslog vim-minimal openssh-server openssh-clients dhclient chkconfig rootfiles policycoreutils" # use temporary repository definition