Why does Red Hat Enterprise Linux 7 anaconda not create physical parent network interface file if it was installed with trunked child interface ?
Issue
- Let's say if the interface available in the system is named as
eno3
and we are creating a vlan interface with id303
on top of that onanaconda
command line, the interface config file/etc/sysconfig/network-scripts/ifcfg-eno3.303
gets created but not the file/etc/sysconfig/network-scripts/ifcfg-eno3
. - This doesn't stop the installation, but when tried installing Red Hat Enterprise Virtualization on such hardware, that fails with error as follows.
IOError: [Errno 2] No such file or directory: '/etc/sysconfig/network-scripts/ifcfg-eno3'
- And simply, following thing resolves that problem.
# touch /etc/sysconfig/network-scripts/ifcfg-eno3
Anaconda
should create both the files i.e.ifcfg-eno3
as well asifcfg-eno3.303
even if installation doesn't fail, because having this file created makes RHEV installation error free at least for this config.
Environment
- Red Hat Enterprise Linux 7.x
- Red Hat Enterprise Virtualization
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.