cloud-init-dev team mailing list archive
-
cloud-init-dev team
-
Mailing list archive
-
Message #05192
Re: [Merge] ~chad.smith/cloud-init:bug/1781229-centos6-copr-get-linux-distro into cloud-init:master
I launched a RHEL instance on ibm softlayer in order to see what it had in /etc/redhat-release.
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.5 (Maipo)
I'll get redhat 6 version tomorrow.
for the record, the util.get_linux_distro() did work, as it used /etc/os-release.
# cat /etc/os-release
NAME="Red Hat Enterprise Linux Server"
VERSION="7.5 (Maipo)"
ID="rhel"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="7.5"
PRETTY_NAME="Red Hat"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:7.5:GA:server"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
REDHAT_BUGZILLA_PRODUCT_VERSION=7.5
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="7.5"
--
https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/349380
Your team cloud-init commiters is requested to review the proposed merge of ~chad.smith/cloud-init:bug/1781229-centos6-copr-get-linux-distro into cloud-init:master.
References