因为要在OpenStack内创建CentOS 7.4的qcow2格式镜像,所以去http://cloud.centos.org/centos/7/images/上下载。
发现没有显式的标明CentOS 版本:
不过,目测是文件尾部的数字“1706”对应了版本号。于是就小小验证下。
首先是随便选择一个国内的镜像源,查看CentOS7.4的版本信息:http://mirrors.aliyun.com/centos/7.4.1708/
下载readme打开看到:
This directory (and version of CentOS) is deprecated. For normal users,
you should use /7/ and not /7.4.1708/ in your path. Please see this FAQ
concerning the CentOS release scheme:
https://wiki.centos.org/FAQ/General
If you know what you are doing, and absolutely want to remain at the 7.4.1708
level, go to http://vault.centos.org/ for packages.
Please keep in mind that 7.4.1708 no longer gets any updates, nor
any security fix's.
可以看到,7.4已经被抛弃了,对应的版本数字为:1708
好了,可以去下载对应尾号为1708的云镜像了。不过国外官网的网络慢,可以用国内的(度娘来的,目测是南京大学):
http://mirrors.nju.edu.cn/centos-cloud/centos/7/images/
在OpenStack验证下,果然是7.4(这不是废话么。。。)
[root@sdp-agent ~]# cat /etc/redhat-release
CentOS Linux release 7.4.1708 (Core)
事情很简单,就是花了点度娘的时间。仅作备忘。