Commit 97e1e9bb by Alexander Vladimirov Committed by Stéphane Graber

lxc-centos: pass releasever parameter to yum

parent ac11ab33
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment