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.
82
questions
0
votes
0
answers
13
views
How to make Ubuntu autoinstall yaml to choose a ram block disk /dev/ram0?
Is it possible to make my autoinstall yaml storage section to choose a RAM block disk - /dev/ram0.
Can i use something like this? Will the ram disks be available during the boot?
type: disk
id: ram-...
1
vote
0
answers
42
views
Autoinstall from ISO File - Subiquity apt-get insatll fails from cdrom files
First of all I am not sure that is about a bug or misunderstanding of a concept.
I am trying to make a custom ISO w/ autoinstall to automatically install Ubuntu Server 24.04.1 LTS onto our machines. ...
1
vote
1
answer
146
views
Ubuntu 24.04.1 LTS Autoinstall with Local Apt Mirror
My apologies for the incoming wall of text but I'm hoping to find a solution to a strange problem that "might" be a bug. I'm in the process of creating an offline (air-gapped) automated ...
0
votes
0
answers
78
views
Install failures on Ubuntu Server 24.04 ARM64 ISO install with autoinstall enabled
I have been working for a while to get a set of ISO installs working with various autoinstall parameters set. I started with the 22.04 release and changed to 24.04 when it was released.
After much ...
0
votes
0
answers
25
views
My ubuntu autoinstall yaml file password isn't working [duplicate]
I've followed this instruction to generate an encrypted password for my autoinstall .yaml file replacing the 'FhcddHFVZ7ABA4Gi' with my password and enclosing it with single quotes but the system ...
0
votes
0
answers
35
views
Make Subiquity installer remove certain snap packages during installation?
How can I instruct the Subiquity installer to remove certain snap packages during installation of Ubuntu 24.04 Desktop?
I have attempted to do this using an autoinstall.yaml file placed on the ISO in ...
0
votes
1
answer
47
views
What's the equivalent "Erase Disk and Install Ubuntu" option in autoinstallation yaml file?
I don't want to create a lot of partitions in yaml file, I would like just to insert default configs and didn't find anything explaining how can I do that, does anyone know how to apply "Erase ...
2
votes
0
answers
121
views
autoinstall 24.04 desktop
I have a single machine desktop environment where I am runnng 24.04. There is nothing involved from the cloud. I have designed my system so that I can re-install Ubuntu without losing anything. This ...
0
votes
0
answers
64
views
How to modify and repackage squashfs in Ubuntu 24.04
How can I modify the official Ubuntu 24.04 server ISO to include additional packages by extracting and repackaging the squashfs files? In Ubuntu 20.04, I successfully repackaged the squashfs and ...
0
votes
0
answers
38
views
autoinstall w/ LVM & LUKS: autoinstall config did not create needed bootloader partition
I am trying to install Ubuntu 24.04 using autoinstall on an UEFI-based Intel NUC w/ LVM + LUKS. Unfortunately, the installation aborts with the error:
autoinstall config did not create needed ...
0
votes
0
answers
27
views
Ubuntu 22.04.4 live server uses the autoinstall function to deploy, prompt: 'version' is a required property
ERROR root:30 finish: subiquity/core_validation: FAIL: 'version' is a required property
To facilitate troubleshooting, I directly quoted the simplest configuration of the official document and found ...
0
votes
0
answers
48
views
Add additional menu for Ubuntu installation
I am aware of autoinstalll which gives the ability to customize Ubuntu installation.
I'm trying to see if there's a way to add additional menu for Ubuntu installation. I cannot find that in ...
0
votes
1
answer
185
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
149
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
264
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
178
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
284
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
168
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 ...
3
votes
2
answers
6k
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
60
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
221
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
167
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
140
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
115
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 ...
1
vote
0
answers
207
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
43
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
174
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
319
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
206
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
567
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
734
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
113
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
345
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
429
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
181
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
201
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
444
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
300
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
1k
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
368
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
2k
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 ...
0
votes
1
answer
729
views
How do I add a user to a group in Ubuntu Server Autoinstall?
I'm trying to configure docker in my Ubuntu server autoinstaller.
Most everything has worked as expected, but I cannot figure out how to get my user to be added to docker group as a part of this ...
1
vote
1
answer
1k
views
Replicating an autoinstall
My scenario is as follows.
I've deployed several servers, and each has generated the /var/log/installer/autoinstall-user-data.
Of course, things have changed on the devices, i.e., network config and ...
1
vote
1
answer
834
views
Autoinstall Ubuntu 22.04 in Air Gapped network
I’m wondering if anyone can point me in some direction. In our environment, we support a high number of Ubuntu 20.04 LTS desktops all in an air-gapped network. We have a mirror of the Ubuntu ...
2
votes
2
answers
3k
views
Cloud-init: how to get kernel parameters into the grub config files during autoinstall on 22.04?
I proceed struggling my way through the cloud-init and it's documentation. One of my current challenges is getting the cgroups flags for the kernel into the grub configs.
The ultimate goal is to get ...
0
votes
2
answers
1k
views
Try to setup autoinstall in Ubuntu 22.04 LTS booting through iso and use https://x.x.x.x./user-data to install unattended in VM not working
Autoinstall skips after searching for cloud-init and drops back to manual install interactive menu. Why is it not picking up the user-data file?
Ubuntu 22.04 LTS
I am trying to boot by editing grub:
...
2
votes
1
answer
1k
views
Ubuntu 22.04 Autoinstall works on UEFI but not MBR in Virtualbox?
I have read through the curtin and autoinstall documentation and can't wrap my head around why this autoinstall script is working on my development laptop but not my vbox install (ver 7.0.8 on Ubuntu ...
0
votes
1
answer
584
views
Ubuntu autoinstall with Encryption not working
I'm trying to install Ubuntu server 22.04 with auto-install mostly following this article. I can successfully get the cloud-init and use my user-data for the installation but I can't seem to get the ...
0
votes
0
answers
80
views
The difference in network configuration files between USB install and PXE autoinstall
when i use pxe with autoinstall install ubuntu server 22.04 or 23.04,the network configuration automatically generated like this
# This is the network config written by 'subiquity'
network:
...
0
votes
0
answers
477
views
how to enable root user by default in autoinstall user data
in my product, i need to enable root user by default in autoinstall user-data file
Expectation: root user login by default post installation
i followed the below,
version: 1
user-data:
...