Virtualbox: Set up host-only network on Ubuntu



  ifconfig -a
  sudo apt-get install ifupdown
  sudo apt-get install ssh
  edit /etc/network/interfaces  and add
       auto enp0s8
       iface enp0s8 inet static
       address 192.168.56.10
       netmask 255.255.255.0


Run sudo ifup enp0s8