See also github issues for open and closed issues.
Hostonly connection will be reset at first vm creation. To resolve this, disconnect connection in gui mode and run in your vagrant directory:
vagrant reload kali
If you have the following message when you run apt-get update
:
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://security.kali.org kali/updates Release: The foll
owing signatures were invalid: KEYEXPIRED 1425567400 KEYEXPIRED 1425567400 KEYEXPIRED 1425567400
You need to update your kali-archive-keyring
:
rm -rf /var/lib/apt/lists
apt-get update
apt-get install kali-archive-keyring
Source: https://forums.kali.org/showthread.php?24687-Problem-with-apt-get-update
Some debian boxes have issues when configuring networks. This is a known bug: https://lists.debian.org/debian-cloud/2017/05/msg00004.html
This can be fixed by specifying the nic_type
of the vm:
debian-vm:
networks:
- private_network:
adapter: 2
type: dhcp
nic_type: 82540EM