Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Ubuntu 22.04 box #94

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

fwilhe2
Copy link

@fwilhe2 fwilhe2 commented Apr 24, 2022

@fwilhe2
Copy link
Author

fwilhe2 commented Apr 24, 2022

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.

@maroskukan
Copy link

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:

  • In the original Debian installer file (preceed.cfg) for Ubuntu 20.04 defined extra packages to install during this stage. This can be also done with cloud init user-data using the packages section.
  • I noticed that you increased the ssh_handshake_attempts to 500. You can avoid this by stopping the ssh service at early stage in user-data
  • The default synced folder settings config.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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Ubuntu 22.04 box
2 participants