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
This commit is contained in:
Sandeep Yadav 2020-06-11 16:50:52 +05:30
parent ef3e212500
commit ff9fe2edfb
3 changed files with 6 additions and 0 deletions

View File

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

View File

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

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