I create a debian 10 image, set the following network interface settings:
vboxmanage = [[“modifyvm”, “{{ .Name }}”, “–memory”, “1024”],
[“modifyvm”, “{{ .Name }}”, “–cpus”, “1”],
[“modifyvm”, “{{ .Name }}”, “–nic1”, “bridged”, “–bridgeadapter1”, “enp6s1”, “–nictype1”, “virtio”, “–cableconnected1”, “on”]]
after the step of obtaining a network address via DHCP, the image creation process stops and the packer exits after a tieout.