...
- Login to the virtual machine with root, and run
apt update && apt upgrade
. Reboot if necessary. - Install cloud-init:
apt install cloud-init
- Run
dpkg-reconfigure cloud-init
and for metadata services, select only Config Drive, EC2 and Openstack.
- Run
- Edit the file
/etc/cloud/cloud.cfg
and change the linedisable_root: true
todisable_root: false
- Run
systemctl enable cloud-init
- Edit the file
/etc/default/grub
, and make sure that the variableGRUB_CMDLINE_LINUX_DEFAULT
containsconsole=ttyS0 console=tty0
(if there's other content in this variable that's fine. Just add this to the end of the string.
NOTE: removequiet
- Run
update-grub
- Run
Enable vncserver for root, and add it to upstart
...