Saturday, May 18, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1448  / 1 Year ago, thu, march 16, 2023, 12:23:27

I would like to automatically install Ubuntu Server 20.04 using autoinstall config file. However, official Ubuntu documentation describes two options. One is to serve this file over http. Other option is to create ISO from it and mount as another drive during the installation. It is described here:
https://ubuntu.com/server/docs/install/autoinstall-quickstart
I would like to put this file into Ubuntu Server installation ISO and then automatically use it during the installation without http server or another dedicated ISO. How can I achieve this?


More From » server

 Answers
6

Eventually I used Cubic and added user-data and meta-data files to /cdrom/preseed/ directory. Then in Boot tab I had to edit /isolinux/txt.cfg file to include autoinstall parameter and point to the proper directory.
Here, in bold is what I had to add:


append boot=casper initrd=/casper/initrd.lz quiet autoinstall ds=nocloud-net;s=/cdrom/preseed/ ---


[#2057] Thursday, March 16, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
poous

Total Points: 81
Total Questions: 101
Total Answers: 119

Location: Cambodia
Member since Sat, Oct 3, 2020
4 Years ago
;