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.0.8~188 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40b263899f7b7e13662ba4d131322c216fe9fe70;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 a236bde88..2902acfaa 100644 --- a/templates/lxc-centos.in +++ b/templates/lxc-centos.in @@ -403,7 +403,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