...
- Login to the virtual machine with kali user, and run
sudo apt update && sudo apt upgrade
. Reboot if necessary. - Install cloud-init:
apt install cloud-init
- Add
datasource_list: [ OpenStack, ConfigDrive, Ec2 ]
to/etc/cloud/cloud.cfg.d/99_openstack.cfg
- Add
- Run
systemctl enable cloud-init
- Run
systemctl enable cloud-final
- 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
...