Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Login to the virtual machine with root, and run apt update && apt upgrade. Reboot if necessary.
  2. Install cloud-init: apt install cloud-init
    1. Run dpkg-reconfigure cloud-init and for metadata services, select only Config Drive, EC2 and Openstack.
  3. Edit the file /etc/cloud/cloud.cfg and change the line disable_root: true to disable_root: false
  4. Run systemctl enable cloud-init
  5. Edit the file /etc/default/grub, and make sure that the variable GRUB_CMDLINE_LINUX_DEFAULT contains console=ttyS0 console=tty0 (if there's other content in this variable that's fine. Just add this to the end of the string.
    NOTE: remove quiet
    1. Run update-grub

Enable ssh server

  1. systemctl enable ssh

Enable vncserver for root, and add it to upstart

...