Open fwilhe2 opened 2 years ago
Hi @geerlingguy, as mentioned in #93 I'd be happy to contribute this box it it works. I did quite some trial and error because I'm not that familiar with packer, if anything needs to be updated to make this mergable please let me know.
It did in the end work on my local machine which runs Ubuntu 22.04.
Hey @fwilhe2 great work. I was recently working on packer template for Ubuntu 22.04. Here are some highlights I would like to point out:
packages
section.ssh_handshake_attempts
to 500
. You can avoid this by stopping the ssh service at early stage in user-dataconfig.vm.synced_folder '.', '/vagrant', type: 'nfs'
in Vagrant file will not work for ubuntu 22.04 as it disabled some legacy features. This needs to be updated.Feel free to have a look around the branch.
This is based on https://github.com/rlaun/packer-ubuntu-22.04
Fixes #93