From cb219766c42244dc21c46a75f421595c511c8d80 Mon Sep 17 00:00:00 2001 From: Sandeep Yadav Date: Thu, 11 Jun 2020 16:50:52 +0530 Subject: [PATCH] Add interface-names to Rhel8 images With EL8, net.ifnames is set to 0 in the grub config. This is a change in the default image which can have user impacts, Details in bug[1]. We already added "interface-names" to centos8 images[2]. With this change we are adding "interface-names" to remove net.ifnames=0 from rhel8 image as well. [1] https://bugs.launchpad.net/tripleo/+bug/1841441 [2] https://review.opendev.org/#/c/712571/ Change-Id: I91567185464997eb77217b14e7efb97cbecf6e77 (cherry picked from commit ff9fe2edfb940bf983c880bbfb4d6e95ccdce7c5) --- image-yaml/overcloud-hardened-images-rhel8.yaml | 2 ++ image-yaml/overcloud-images-ceph-rhel8.yaml | 2 ++ image-yaml/overcloud-images-rhel8.yaml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/image-yaml/overcloud-hardened-images-rhel8.yaml b/image-yaml/overcloud-hardened-images-rhel8.yaml index 6dd118a88..fff4b58ec 100644 --- a/image-yaml/overcloud-hardened-images-rhel8.yaml +++ b/image-yaml/overcloud-hardened-images-rhel8.yaml @@ -5,3 +5,5 @@ disk_images: distro: rhel environment: DIB_RELEASE: '8' + elements: + - interface-names diff --git a/image-yaml/overcloud-images-ceph-rhel8.yaml b/image-yaml/overcloud-images-ceph-rhel8.yaml index a5ca44860..d01d5fc54 100644 --- a/image-yaml/overcloud-images-ceph-rhel8.yaml +++ b/image-yaml/overcloud-images-ceph-rhel8.yaml @@ -4,3 +4,5 @@ disk_images: type: qcow2 distro: rhel release: 8 + elements: + - interface-names diff --git a/image-yaml/overcloud-images-rhel8.yaml b/image-yaml/overcloud-images-rhel8.yaml index 315f546ef..26cce077e 100644 --- a/image-yaml/overcloud-images-rhel8.yaml +++ b/image-yaml/overcloud-images-rhel8.yaml @@ -6,6 +6,7 @@ disk_images: release: 8 elements: - selinux-permissive + - interface-names environment: FS_TYPE: xfs options: @@ -17,3 +18,4 @@ disk_images: release: 8 elements: - selinux-permissive + - interface-names