IP for host-only adapter was not showing and when I checked the interfaces, enp0s8 interface is showing as ‘disconnected’. What should be done to connect that interface to the VM?
Add the last interface to the interfaces (in this case
[i] to edit (and move with arrow keys or before [i]
hjkl (left, down, up, right))
auto enp0s8 iface enp0s8 inet dhcp
Save and close with [esc]
I got it. I went into nmtui and added the enp0s8 as ethernet connection and now the IP of enp0s8 is showing.
Great! Happy learning!