Questions tagged [autoinstall]
For questions about the automated installation mode (autoinstall for short) of Ubuntu Server 20.04 and later. Do not use this tag for questions about the autoinstall option of the ubuntu-drivers command.
74
questions
-1
votes
0
answers
27
views
PXE installation prompts 'EFI not found'; I am using BIOS
When installing Ubuntu Desktop 22.04 via PXE, I am prompted with 'Go back to the menu and resume partitioning?'. I am in a BIOS environment where ESP is not required, and I need to manually click 'OK' ...
0
votes
1
answer
28
views
Ubuntu 24.04 - Autoinstall and debconf-selections
I am trying to use autoinstall for the first time.
After first issues I was able to create a basic autoinstall.yaml and to install
a fresh system with that file.
Now I wanted to modify the autoinstall....
-1
votes
1
answer
109
views
Ubuntu 22.04 installation using autoinstall
I am trying to install ubuntu 22.04 ( server ) using PXE boot, I have configured my user-data to the following enter image description here
enter image description here
enter image description here
...
0
votes
2
answers
156
views
Minimal autoinstall.yaml to install authorized keys, getting subiquity/Error/load_autoinstall_data
I am trying to create the minimal autoinstall.yaml that will let me install SSH authorized keys.
This is my autoinstall.yaml:
#cloud-config
autoinstall:
version: 1
locale: en_US
identity:
...
1
vote
0
answers
121
views
Add custom bash script to ubuntu auto-install ISO
I'm working on an Ubuntu auto-install ISO. I'm close to finishing it, and my last task is to add a custom bash script that will be run in late-commands stage.
I tried to search for someone who's ...
0
votes
0
answers
201
views
Ubuntu 24.04 PXE boot + autoinstall failing to complete install
I created an iso using cubic with Ubuntu 24.04 server image. No modifications are done to the filesystem, it's all vanilla. I started with a working 22.04 autoinstall script and copied it to 24.04 ...
1
vote
1
answer
115
views
Using Match: Name: wildcard with "wifis", autoinstall.yaml, netplan
Is there any way to get similar functionality for WiFi interfaces as you can for hard wired ethernet modules via match: name: wildcard? I am trying to setup an automated install that will connect to a ...
2
votes
2
answers
3k
views
PXE Booting Ubuntu 24.04 LTS + Autoinstall
I'm wondering if anyone has successfully been able to pass the proper kernel configs to Ubuntu 24.04 LTS to have it automagically boot and install from a working autoinstall.yaml file?
Here are the ...
0
votes
0
answers
50
views
Windows 11 Fails to Boot After Installing Ubuntu Using autoinstall.yaml
Hello Stack Overflow Community,
I'm encountering a recurring problem where Windows 11 becomes unbootable after I install Ubuntu alongside it using a custom autoinstall.yaml file. Despite careful ...
0
votes
0
answers
184
views
Schema Validation Error on Ubuntu 22.04.4 live server Autoinstall
I've been attempting an automatic installation of Ubuntu 22.04 using the autoinstall.yaml file, which worked fine in Ubuntu 20.04. However, I'm encountering schema validation errors specifically ...
0
votes
1
answer
137
views
I need to update the kernel of ubuntu 22.04 ISO file
We are working on customizing the ISO of ubuntu 22.04.3 using autoinstall, here we are developing our product with specific kernel version (automirror clone version). Always the automirror clone is ...
0
votes
0
answers
112
views
How to download and place a package (and dependencies) in a local directory as it is in the repo?
I am trying to write a script that prepare an offline installable custom ISO. The customized ISO should have include some other packages which do not come with the official Ubuntu server ISO. (like ...
0
votes
0
answers
102
views
issue in autoinstall Ubuntu server 22.04 using raid1 on m2
I tried to install Ubuntu server 22.04 (even with the latest daily version 24.04) using the autoinstall process, to get a bootable raid 1 configuration, using two 2TB m2 disks.
The process keeps ...
0
votes
0
answers
163
views
Ubuntu 22.04 LTS Autoinstall Wi-Fi Connectivity
Hello and thanks in advance.
I'm trying to autoinstall Ubuntu 22.04 LTS from USB.
I have successfully edited grub.cfg and created both "meta-data" and "user-data" files.
...
0
votes
0
answers
41
views
Customise the Ubuntu server installer
We already use autoinstall files to automate our Ubuntu Server install. But as we're also installing our own software on the first boot, we need a way to aks the user for input.
Is there a way to ...
0
votes
0
answers
133
views
Could not login into TailScale during Ubuntu auto installation
Initially Ive tried official TailScale config:
#cloud-config
# The above header must generally appear on the first line of a cloud config
# file, but all other lines that begin with a # are optional ...
1
vote
1
answer
248
views
late-commands using ubuntu autoinstall does not install tailscale app
I am trying to create autoinstall configuration for automatic ubuntu server installation and remote access. For remote access I would like to use Tailscale VPN. This example of my user-data file:
#...
1
vote
1
answer
194
views
Cannot get autoinstall 22.04 to boot
Hello I am trying to make an ubuntu 22.04 autoinstall usb
20.04 boots fine but I cannot get 22.04 going.
I am running this on a headless & keyboardless server as my cat chewed through my keyboard ...
-1
votes
1
answer
422
views
Grub configuration to load cloud-init from external removable disk in Ubuntu 20.04 autoinstall
I'm trying to auto-install Ubuntu 20.04 from an .iso file loaded in virtual media and I would like to load the cloud-init configuration from an external device.
I've already followed this tutorial ...
0
votes
1
answer
519
views
Update/set root password in auto-install
I need to set the root password in the autoinstall as it allows me to check the system by logging into the console after installation. Unfortunately, this doesn't seem to work, and I have the ...
0
votes
0
answers
102
views
Ubuntu autoinstall not honoring source: id: "ubuntu-server-minimized"
The documentation at https://ubuntu.com/server/docs/install/autoinstall-reference states:
source
[search_drivers stuff omitted]
id
type: string
default: identifier of the first available ...
0
votes
1
answer
261
views
Using autoinstall storage sizing-policy all, does not work
I'm preparing an Ubuntu 22.04 iso. I want the default lvm size to be all, and not scaled as Ubuntu's default https://ubuntu.com/server/docs/install/autoinstall-reference.
sizing-policy
The lvm layout ...
0
votes
1
answer
331
views
Ubuntu 22.04 Casper kernel parameters not working for VLAN Tag
I'm set up using Foreman and Grub2 to serve Grub2 template for UEFI HTTP Boot. This configuration works just fine on my server(s) and I've built unattended Ubuntu 22.04 servers using autoinstall and ...
0
votes
0
answers
159
views
Does the 6.2 kernel support subiquity auto install for ubuntu 22.04?
I currently have a working auto installer for Ubuntu 22.04 Server that uses nocloud and will auto setup with a user-data and meta-data folder. This is using the 5.15 kernel which comes with the Ubuntu ...
0
votes
0
answers
189
views
Ubuntu 22 autoinstall with UEFI and RAID1
I try to install ubunutu 22 via autoinstall but he throws a error:
Missing two required arguments fstype and volume
this is my storage config:
storage:
config:
# Partition table of two disks
- ...
0
votes
1
answer
398
views
Combining autoinstall and cloud-init for 22.04?
Now that I got some understanding of the autoinstall, looking for more complex scenarios & unification for different server types.
How do I mix autoinstall for engaging headless automated bare-...
0
votes
1
answer
262
views
How to stop updates during online cloudconfig autoinstall
I am trying to deploy a VM using packer and cloud-config autoinstall.
I am using ubuntu-22.04.2-live-server-amd64.iso image which comes with linux kernel 5.15.0-25
During the configuration, kernel ...
0
votes
1
answer
889
views
Ubuntu 22.04 autoinstall.yaml dynamic
I try to rewrite the autoinstall.yaml while the installer is runnning.
What i do is , i read a standart user-data with early_command that wget a new user-data and saved it as autoinstall.yaml.
...
0
votes
1
answer
316
views
AWS userdata does not run on custom Ubuntu AMI
I've created a custom Ubuntu ISO with Autoinstall and userdata to set up a virtual machine (VM) in our VMware setup. This VM is then converted to OVA format, uploaded to AWS S3, and converted to an ...
1
vote
1
answer
1k
views
How to optimize installation process during offline autoinstall Ubuntu 22.04?
I'm a beginner in Ubuntu and I'm trying to create offline autoinstall for Ubuntu 22.04.
I followed this link at first to create the autoinstall and succeeded in doing so. However, since I need this ...