Commit 40b26389 by Alexander Vladimirov Committed by Stéphane Graber

lxc-centos: pass releasever parameter to yum

parent 3745e752
...@@ -403,7 +403,7 @@ download_centos() ...@@ -403,7 +403,7 @@ download_centos()
# download a mini centos into a cache # download a mini centos into a cache
echo "Downloading centos minimal ..." 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" PKG_LIST="yum initscripts passwd rsyslog vim-minimal openssh-server openssh-clients dhclient chkconfig rootfiles policycoreutils"
# use temporary repository definition # 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