社区微信群开通啦,扫一扫抢先加入社区官方微信群
社区微信群
我安装的时候用的是RDO网站提供的安装方法,当安装了
yum install -y centos-release-openstack-queens
之后,就无法进行yum update了,报错,叭叭叭一堆,404报错,然后细心留意到,感觉$contentdir这个字词有问题,于是,google一番之后,就找到这个问题了.
failure: repodata/repomd.xml from centos-qemu-ev 错误
uname -m | grep -q 'x86_64' && echo 'centos' > /etc/yum/vars/contentdir || echo 'altarch' > /etc/yum/vars/contentdir
原文参照:https://review.openstack.org/#/c/568180/
openstack centos7 http://mirror.centos.org/$contentdir/7/cloud/x86_64/openstack-queens/repodata/repo
如果觉得我的文章对您有用,请随意打赏。你的支持将鼓励我继续创作!