Because the network card is not activated at boot time.
Go to /etc/sysconfig/network-scripts/
Inside is the network card configuration file. Usually the hostonly configuration file name is: IFCFG-ENP0S8
If you open this file, you can see the ONBOOT=no line configuration. Change it to ONBOOT=yes and restart the virtual machine.
Go to /etc/sysconfig/network-scripts/
Inside is the network card configuration file. Usually the hostonly configuration file name is: IFCFG-ENP0S8
If you open this file, you can see the ONBOOT=no line configuration. Change it to ONBOOT=yes and restart the virtual machine.
Read More:
- VirtualBox + CentOS 7 virtual machine setting static IP address of host only NIC
- The solution to the problem that the virtual machine and the host SSH can’t connect on vmvare
- Solution to redis error in CentOS of idea connected virtual machine
- The solution of centos7 in VMware virtual machine unable to access after installing nginx
- VirtualBox reports an error supr3hardenedwinrespawn what 5 when opening the virtual machine
- Nat mode of network configuration for VMware virtual machine
- Solution to restart without showing eth0 connection after installing virtual machine
- Modify the VDI path of VirtualBox on MacOSX, and transfer the virtual machine
- IP address cannot be viewed through ifconfig in virtual machine
- Error ns when starting VirtualBox virtual machine after upgrading kernel_ ERROR_ FAILURE
- VirtualBox failed to start virtual machine – ntcreatefile (\ device \ \ vboxdrvsstub)
- Shortcut to exit zoom mode in VirtualBox [off]
- Solve the problem that the virtual machine can’t be opened? Tips on VMware Workstation cannot connect to the virtual machine
- VirtualBox failed to start, prompt failed to open a session for the virtual machine windoze 7
- A new virtual machine cannot be connected to the network (error fetching interface information device not found),
- VMware virtual machine prompt: locking file failed, unable to open the disk solution
- VMware imports an external virtual machine and displays system error: (unknown exception). Wrong solution
- Solutions to errors in virtual machine running in Android studio
- Problem solving: this application cannot run under a virtual machine arcmapr, but you are not using a virtual machine
- Solution of Prophet error reporting when installing R package in Kubuntu virtual machine environment