Get a network interface ONBOOT value to be set to 'yes' by default after installation

Issues related to configuring your network
Post Reply
olegL1
Posts: 2
Joined: 2018/01/30 11:43:28

Get a network interface ONBOOT value to be set to 'yes' by default after installation

Post by olegL1 » 2018/01/30 14:27:31

Hello everyone!

Right after installing a cent-os guest using virt-install and then checking an /etc/sysconfig/network/ifcfg-eth0 file I see that ONBOOT value is set to 'no' by default. Is it away to get it set to "yes" right after installation?

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Get a network interface ONBOOT value to be set to 'yes' by default after installation

Post by TrevorH » 2018/01/30 16:49:21

If you enable the network during the install then it should be enabled post-install too.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

olegL1
Posts: 2
Joined: 2018/01/30 11:43:28

Re: Get a network interface ONBOOT value to be set to 'yes' by default after installation

Post by olegL1 » 2018/02/05 16:18:08

Could you please post a relevant virt-install command?

Post Reply