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.

Since version 20.04, the Ubuntu Server installer supports the automated installation mode, autoinstallation for short. You might also know this feature as unattended or handsoff or preseeded installation.

Autoinstallation lets you answer all those configuration questions ahead of time with an autoinstall config and lets the installation process run without any interaction. source

104 questions
5
votes
1 answer

Installing packages via autoinstall vs user-data

I've read the entire autoinstall documentation and the entire cloud-init documentation, but I still don't understand the apparent overlap/redundancy between the ability to install packages in autoinstall, vs the ability to install packages via the…
5
votes
1 answer

Autoinstall build of Ubuntu Server 20.04, does not autoinstall

I'm trying to build a Ubuntu 20.04 server with autoinstall. But it looks like it isn't picking up the setup file. I'm using packer, however I also tried this manually and got the same…
awm
  • 198
4
votes
3 answers

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 two configs I've tried, but in both cases the live…
Zero0ne
  • 125
4
votes
2 answers

Ubuntu 22.04 Desktop LTS unattended installation

I am trying to search around for the Ubuntu 22.04 Desktop autoinstall (like the Windows ISO image. We could deploy on the Windows ISO image, and make it install automatically with our customization once we boot up.), but I only get the autoinstall…
3
votes
2 answers

HOW to automate validation testing of user-data

I have several user-data files on an internal gitlab repo. I am running a deploy job which is deploying the user-data to our internal tftp server. Our tftp server is part of our netboot.xyz instance. When I try to deploy our user-data via preseed…
MaKaNu
  • 161
  • 6
3
votes
0 answers

Autoinstall curtin FAIL: removing previous storage devices with RAID1

I create an ISO with autoinstall that needs to be generic. It should work on VMs, physical machines with legacy bios, EFI bios, with and without RAID. In my autoinstall.yml, I don't have anything related to storage (as I want it to be as generic as…
Utz
  • 139
  • 3
  • 15
3
votes
7 answers

Ubuntu 22.04 Autoinstall method

Does anybody figured out the right way of providing autoinstall data with custom iso file via grub? Clearly Ubuntu 22.04 doesn't provide the nice way of definition of boot commands via casper (sort of interactive menu [after boot, F6 and so on..])…
bizarreApple
  • 61
  • 1
  • 1
  • 7
3
votes
0 answers

Ubuntu offline autoinstall ISO

I am migrating an offline autoinstall ISO from Ubuntu 16.04 to 20.04. Previously I used the debian-installer preseed file. To disable online mirrors and force an offline install I could use the following line: d-i apt-setup/no_mirror boolean…
3
votes
1 answer

Ubuntu Autoinstall - UEFI

We want to use the new ubuntu autoinstall method Autoinstall. There are some problems getting UEFI boot to work. I've installed Ubuntu Server 20.04 with the normal installer and EFI method and then acquired the following user-data…
Fang
  • 221
  • 3
  • 11
2
votes
1 answer

Autoinstall Failing at Storage Configuration on Ubuntu Server 22.04 LTS

I'm encountering an issue using the autoinstall feature on Ubuntu Server 22.04 LTS. My goal is to deploy a system with a custom storage layout, but the autoinstall process fails during the storage configuration phase. I’m using the following YAML…
glitchbox
  • 23
  • 3
2
votes
1 answer

Minimal BASH Shell Displayed After Rebooting Ubuntu 22.04 Autoinstall ISO in VirtualBox

I followed this link to create an offline autoinstall for Ubuntu 22.04. I have successfully generated the ISO using xorriso and installed it in a virtual machine on VirtualBox, however after rebooting the machine fails to boot into normal mode.…
Rajaram
  • 21
2
votes
1 answer

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. We of course need to install some extra apt…
2
votes
1 answer

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 install of Ubuntu 24.04.1 LTS using a combination of PXE…
Zero0ne
  • 125
2
votes
0 answers

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 means that it becomes simple to recover from…
Jonathan
  • 1,498
2
votes
1 answer

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 autoinstall to work on PC without OS and internet…
rain89
  • 23
1
2 3 4 5 6 7