Browse Source

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 ff9fe2edfb)
changes/72/749872/1
Sandeep Yadav 3 months ago
parent
commit
cb219766c4
3 changed files with 6 additions and 0 deletions
  1. +2
    -0
      image-yaml/overcloud-hardened-images-rhel8.yaml
  2. +2
    -0
      image-yaml/overcloud-images-ceph-rhel8.yaml
  3. +2
    -0
      image-yaml/overcloud-images-rhel8.yaml

+ 2
- 0
image-yaml/overcloud-hardened-images-rhel8.yaml View File

@@ -5,3 +5,5 @@ disk_images:
distro: rhel
environment:
DIB_RELEASE: '8'
elements:
- interface-names

+ 2
- 0
image-yaml/overcloud-images-ceph-rhel8.yaml View File

@@ -4,3 +4,5 @@ disk_images:
type: qcow2
distro: rhel
release: 8
elements:
- interface-names

+ 2
- 0
image-yaml/overcloud-images-rhel8.yaml View File

@@ -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

Loading…
Cancel
Save