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
eno3and we are creating a vlan interface with id303on top of that onanacondacommand line, the interface config file/etc/sysconfig/network-scripts/ifcfg-eno3.303gets 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
Anacondashould create both the files i.e.ifcfg-eno3as well asifcfg-eno3.303even 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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
