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 support for Ubuntu 20.04 LTS Boxes #1281

Closed
tknerr opened this issue Apr 24, 2020 · 9 comments · Fixed by #1282
Closed

Add support for Ubuntu 20.04 LTS Boxes #1281

tknerr opened this issue Apr 24, 2020 · 9 comments · Fixed by #1282
Labels
Status: Untriaged An issue that has yet to be triaged.

Comments

@tknerr
Copy link

tknerr commented Apr 24, 2020

Describe the Enhancement:

https://app.vagrantup.com/bento/boxes/ubuntu-20.04 would be available as a basebox with the recently released Ubuntu 20.04 LTS version

Describe the Need:

This would probably be beneficial for any user of the existing bento/ubuntu boxes, as the newly released 20.04 version is an LTS version. Also availability of vmware_desktop and parallels boxes in addition to virtualbox is a big plus for the bento boxes.

Current Alternative

I found no other reliable / trusted basebox for Ubuntu 20.04 so far. The "official" ubuntu baseboxes are virtualbox only, thus they won't help users who need vmware_desktop or parallels boxes

Can We Help You Implement This?:

Unfortunately I don't have the time and resources available to implement it myself right now, as it seems a bit more complicated than just updating the iso URL and checksums :-/ The issue is that with Ubuntu 20.04 the classic .iso images with the "d-i" / preseed installer are no longer available, there is only the new "subiquity" live installer. I guess this requires quite a bit more effort to adapt on packer side, if even possible at all. That's why I'm asking for your help here, as you are certainly have much more expertise in this than I do...

@tknerr tknerr added the Status: Untriaged An issue that has yet to be triaged. label Apr 24, 2020
@svpernova09
Copy link
Contributor

I'm currently trying to build a template for 20.04 and getting stuck on the installer :/

@tknerr
Copy link
Author

tknerr commented Apr 24, 2020

@svpernova09 I can feel with you - that's what led me here... ;)

@svpernova09
Copy link
Contributor

@tknerr I came across this: https://wiki.ubuntu.com/UbiquityAutomation Hoping it'll help me translate / update the options

@tknerr
Copy link
Author

tknerr commented Apr 24, 2020

Oh, I ended up here and it looked totally different / non-preseed like:
https://wiki.ubuntu.com/FoundationsTeam/AutomatedServerInstalls

@Troym
Copy link

Troym commented Apr 26, 2020

It seems to work by using the legacy server images at http://cdimage.ubuntu.com/ubuntu-legacy-server/releases/20.04/release/ ... although I haven't really tested the resulting machine image much yet. This is what I changed from the 19.10 json file to make it work:

 "box_basename": "ubuntu-20.04",
 "iso_checksum": "36f15879bd9dfd061cd588620a164a82972663fdd148cce1f70d57d314c21b73",
 "iso_name": "ubuntu-20.04-legacy-server-amd64.iso",
 "mirror_directory": "ubuntu-legacy-server/releases/20.04/release",
 "name": "ubuntu-20.04",
 "template": "ubuntu-20.04-amd64",

@nickcharlton
Copy link

I've been looking into this problem, and after a weekend of experiments have gotten it working using the new automated installer.

It's a bit late here in the UK as I write this, so I've run out of time to open the PR I wanted to but I'd like to come back tomorrow with one.

In the mean time, if someone wants to take a look at this, I've written up my notes which have a working configuration: https://nickcharlton.net/posts/automating-ubuntu-2004-installs-with-packer.html

@tknerr
Copy link
Author

tknerr commented Apr 28, 2020

Thanks everyone for fixing this!! ❤️

@tas50
Copy link
Contributor

tas50 commented Apr 28, 2020

This is now up at https://app.vagrantup.com/bento/boxes/ubuntu-20.04

@ahrenstein
Copy link

I'm able to pull the box and use it with kitchen 👍

martintamare pushed a commit to alkivi-sas/bento that referenced this issue Nov 17, 2020
Changes based on updates from chef#1281 (comment)

Signed-off-by: Joe Ferguson <[email protected]>
Tcharl pushed a commit to OsgiliathEnterprise/bento that referenced this issue Jan 2, 2021
Changes based on updates from chef#1281 (comment)

Signed-off-by: Joe Ferguson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Untriaged An issue that has yet to be triaged.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants