I am trying to use the vagrant builder. I achieve creating a new image out of an existing one in my example. But the image created seems unusable: When creating a new box out of the new image, with vagrant up, vagrant cannot ssh: Remote connection disconnect ...
I tried generic/debian10 and generic/debian9 as base images.
This issue was originally opened by @Romainj1 in https://github.com/hashicorp/packer/issues/11405 and has been migrated to this repository. The original issue description is below.
Overview of the Issue
I am trying to use the vagrant builder. I achieve creating a new image out of an existing one in my example. But the image created seems unusable: When creating a new box out of the new image, with
vagrant up
, vagrant cannot ssh:Remote connection disconnect
... I triedgeneric/debian10
andgeneric/debian9
as base images.Reproduction Steps
Run:
Then as the doc mentions:
Everything works as expected, until:
Where i am getting:
until it timeouts
Packer version
Simplified Packer Template
Json template:
Operating system and Environment details