Signed-off-by: Alexander Vladimirov <alexander.idkfa.vladimi...@gmail.com> --- allow lxc-centos template install from arch and probably other non-centos hosts templates/lxc-centos.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/templates/lxc-centos.in b/templates/lxc-centos.in index c7d2b89..c2b4db6 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 -- 2.2.2 _______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel