I have a kickstart server that installs Centos 7 without installing NetworkManager. Everything on it works fine, but the networking.
I'm able to get the networking working by logging in via tty1 and running
[root@centos~]# systemctl restart network
Which leads me to believe that it's starting too early.
When it first boots, checking the status of network via systemd shows:
● network.service - LSB: Bring up/down networking
Loaded: loaded (/etc/rc.d/init.d/network; bad; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2017-10-04 07:46:02 PDT; 5min ago
Docs: man:systemd-sysv-generator(8)
Process: 1525 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=1/FAILURE)
Oct 04 07:45:55 centos.local systemd[1]: Starting LSB: Bring up/down networking...
Oct 04 07:45:56 centos.local network[1525]: Bringing up loopback interface: [ OK ]
Oct 04 07:45:56 centos.local network[1525]: Bringing up interface eno1:
Oct 04 07:46:02 centos.local network[1525]: Determining IP information for eno1... failed; no link present. Check cable?
Oct 04 07:46:02 centos.local network[1525]: [FAILED]
Oct 04 07:46:02 centos.local systemd[1]: network.service: control process exited, code=exited status=1
Oct 04 07:46:02 centos.local systemd[1]: Failed to start LSB: Bring up/down networking.
Oct 04 07:46:02 centos.local systemd[1]: Unit network.service entered failed state.
Oct 04 07:46:02 centos.local systemd[1]: network.service failed.
I can't seem to find a solution to this specific question, so I'm asking here.
Thanks.
Config file below
#/etc/sysconfig/network-scripts/ifcfg-eno1
NAME="eno1"
DEVICE="eno1"
ONBOOT=yes
NETBOOT=yes
UUID="315e0366-a380-47f2-a9d4-4512a52cdaf2"
IPV6INIT=yes
BOOTPROTO=dhcp
TYPE=Ethernet
EDIT: Setting a static config in /etc/sysconfig/network-scripts/ifcfg-eno1 seems to have resolved the issue.
[ 4.181832] systemd-udevd[466]: renamed network interface eth0 to eno1
Could this be the reason?