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
Forum Moderator
Posts: 23204
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.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. 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