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.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
44 views

Ubuntu autoinstall. Answer the question while partitioning

I need to make 2 empty partitions while autoinstalling Ubuntu. I have configured it in preseed. But while installing I see the window called: "Go back to the menu?" With a question: "No ...
Vasiliy's user avatar
0 votes
1 answer
41 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 ...
Nisal Subasinghe's user avatar
0 votes
0 answers
30 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: ...
xiaohinata's user avatar
0 votes
0 answers
24 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: ...
seeni sekar's user avatar
2 votes
1 answer
118 views

How to install packages offline with Ubuntu 22.04 Server Autoinstall

I am making a custom ISO w/ autoinstall to automatically install Ubuntu Server onto our machines. We of course need to install some apt packages as part of the customization. The problem is, this ...
Mr. T's user avatar
  • 145
0 votes
0 answers
42 views

Ubuntu autoinstall, cant get past welcome screen

cant get it past the welcome screen using auto,this is the welcome screen that asks for keyboard typing, timezome, wifi, privacy, user creation.. if i reboot at this screen without entering anything ...
Alfa Omega's user avatar
0 votes
0 answers
33 views

Subiquity - Dual Boot Storage Setup

Is it possible to install Ubuntu 22 via Subiquity alongside a Windows install on 1 disk? And if so, how is the user-data file configured? In pre-seed, I could use the following: d-i partman-auto/...
Jason Ashby's user avatar
0 votes
0 answers
26 views

How to Use Encrypted password in autoinstall.yml - late command

Hi There is a requirement, I have kept a password protected archive file in the filesystem of an ISO by using Squashfs tool. I want to untar it at time of ISO installation. Is there a way to provide ...
Dhirendra Vats's user avatar
0 votes
1 answer
100 views

I'm trying to get the autoinstall working for Ubuntu server 22.04 but the installer doesn't seem to pick up the instructions

I'm trying to get the most basic Ubuntu Server headless installation scenario working. I trimmed my user-data yaml file down to the bare minimum. #cloud-config version: 1 identity: hostname: ...
Boris's user avatar
  • 1
0 votes
0 answers
40 views

Ubuntu ISO with Autoinstall over chroot

I'm tasked with migrating 200 physical CentOS 7 servers to a custom Ubuntu 22.04 ISO. This custom ISO comes pre-configured with Autoinstall and seamlessly installs on any server or VM. However, I'm ...
Utz's user avatar
  • 79
0 votes
0 answers
57 views

Ubuntu 22.04 Autoinstall how to disable security Updates

I am setting up clients every now and then using pxe -> autoinstall but after running the setup it takes very long to install the latest security updates. I want them to install later not while the ...
friendly joe's user avatar
0 votes
0 answers
80 views

trouble using system-uuid for specific autoinstall config

I'm encountering difficulties fetching a specific #cloud-config file based on the SMBIOS UUID during the installation of Ubuntu 22.04 virtual machines using autoinstall. I have a general #cloud-config ...
lveltmaat's user avatar
0 votes
0 answers
223 views

Autoinstall Ubuntu Server 22.04: Block probing did not discover any disks big enough to support guided storage configuration

Context After running the the below bash script to auto-install an Ubuntu server 22.04 on Qemu using virt-install, I get the error: Block probing did not discover any disks big enough to support ...
a.t.'s user avatar
  • 275
0 votes
0 answers
29 views

Adding FIPS at end of autoinstall, how to do this correctly

We have a landscape server here from which we obtain FIPS code and updates. I want to add all of this during the autoinstall, in the late-commands section. But, I seem to be triggering something as ...
Forrest Aldrich's user avatar
0 votes
1 answer
159 views

Autoinstall storage: not working, Ubuntu does its own thing 20.04

I'm working with Ubuntu 20.40, where I'm creating an ISO with the user-data/meta-data on the image, then booting a VMware VM off it. I watch the output, it seems to create the logical volumes and ...
Forrest Aldrich's user avatar
0 votes
0 answers
54 views

how to customized a ubuntu server 22.04 image and set up as a auto answer installtion image

i am trying to make an image for my machines. There are too many machines that i have to install windows server and ubuntu server on them. So i need to customized a image(install some software and ...
Jw9394's user avatar
  • 13
0 votes
0 answers
64 views

Ubuntu 22.04 autoinstall storage layout examples

When using autoinstall's LVM storage layout, how do I create custom LVM partitions using sizing-policy as with key scaled and value set to Between 10-20 GiB storage: layout: name: lvm
PSP_05's user avatar
  • 1
0 votes
0 answers
34 views

Storage Layouts - custom partitions with interactive selection for easy of update using autoinstall for ubuntu 22.04

We are looking to get below preseed file converted into autoinstall. PRESEED Used for Ubuntu 18.04 LTS d-i partman-auto/method string lvm d-i partman-lvm/device_remove_lvm boolean true d-i partman-...
PSP_05's user avatar
  • 1
0 votes
0 answers
32 views

Autoinstall storage config- storage size limits

We are using below storage configuration for autoinstall storage: config: #Select Disk - {ptable: gpt, match: {}, wipe: superblock-recursive, preserve: false, name: '', grub_device: true, type: disk, ...
PSP_05's user avatar
  • 1
0 votes
0 answers
53 views

Documentation for meta-data and vendor-data

We could not find any document related to meta-data and vendor-data used in autoinstall, when to use one or the other. Please share any relevant documentation related to autoinstall's meta-data and ...
PSP_05's user avatar
  • 1
0 votes
1 answer
191 views

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 ...
Alex Dresko's user avatar
0 votes
1 answer
56 views

Ubuntu Jammy Auto Install

I am using an automated install for Ubuntu Jammy. I want to stop the prompt for installing updates and other software.
Mike Fry's user avatar
0 votes
0 answers
266 views

Ubuntu autoinstall, how to actually get it to work?

I am having major trouble building a working autoinstall process. This is for 20.04.2.0; first, testing it with a VMware ESXI host. What I thought I could do: Boot the VM off the ISO and, Specify ...
Forrest Aldrich's user avatar
0 votes
1 answer
179 views

Autoinstall via ISO boot kernel, correct command args

I'm new to the autoinstall process, where I am finding documentation difficult to follow; however, most of the docs refer to using a virtual machine (qemu) which we are not. On the Autoinstall ...
Forrest Aldrich's user avatar
0 votes
1 answer
84 views

How can I use self-signed HTTPS for my Ubuntu 20.04 autoinstall files?

I am trying to load an autoinstall config into an Ubuntu installation. I have my autoinstall configs hosted on two servers, one running https with company certs and one running http. When the ...
CatEnthusiast's user avatar
0 votes
0 answers
73 views

Autoinstall xubuntu using packer and vsphere

I've been trying to create xubuntu template on vmware using packer and vsphere. I run into problem, because whatever I do in boot command i get into xubuntu live session-"xubuntu try mode" ...
Tech Jubitom's user avatar
0 votes
0 answers
140 views

Apt sources missing in autoinstall environment (22.04.2)

I am setting up a network autoinstall with the 22.04.2 image. With a packages key, the package installation step fails. (I thought it was working last week.) When I look into the target environment,...
mkraai's user avatar
  • 11
0 votes
0 answers
84 views

Full disk encryption with 'fire and forget' autoinstall in 20.04+?

I have a small problem. I'm trying to do a 'fire-and-forget' install of Ubuntu 20.04 with full disk encryption. And I keep getting prompted for the disk password during the process. (I believe this is ...
John Meehan's user avatar
1 vote
0 answers
180 views

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 ...
Utz's user avatar
  • 79
0 votes
1 answer
425 views

Autoinstall Ubuntu 22.04 Desktop using Server source?

I'm trying to create an auto install iso, and install it in Proxmox. After spent long hours to search how to auto install a Desktop version, I finally abandoned.... (if anybody has an idea I'm waiting ...
Lokomass's user avatar
0 votes
0 answers
252 views

How to add shell script and python scripts in ubuntu auto-install early-commands section

I have a requirement to add multiple shell scripts and python scripts in the ubuntu autoinstall early-command section. All documents tell about only the shell commands passing procedure inside early-...
Dushyanth's user avatar
1 vote
1 answer
107 views

Autoinstall from ISO File

Can someone suggest the steps or a guide to use autoinstall function starting 22.04 Server ISO? My goal is use an ISO to install Ubuntu Server 22.04, and provide info for automating install (first ...
technofab_it's user avatar
1 vote
0 answers
29 views

Autoinstaller: keep the /home if available, (and automatically add users)

What I would like to do is to make an autoinstaller that only installs the OS but would try to keep, and attach, an existing home directory - and automatically make the user(s) again. But looking ...
Valentijn Sessink's user avatar
0 votes
2 answers
1k views

Autoinstall local repository

I have my own ISO based on Ubuntu 22.04 that I generated myself. Here is my Autoinstall - #cloud-config autoinstall: version: 1 identity: hostname: foo-ubuntu password: "ToReplace&...
Utz's user avatar
  • 79
1 vote
2 answers
1k views

Ubuntu 22.04 autoinstall pxe not getting user-data

testing on VirtualBox an automated install of ubuntu desktop, i have a router, dhcp, tftp, http server. This is my pxelinux.cfg/default: UI menu.c32 LABEL Ubuntu MENU LABEL Ubuntu KERNEL ubuntu/...
Eryoka Cozart's user avatar
2 votes
2 answers
815 views

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 ...
Ivan's user avatar
  • 21
2 votes
0 answers
152 views

Ubuntu autoinstall disable prompt during iso installation

I'm generating my own iso using autoinstall, here is the configuration: #cloud-config autoinstall: version: 1 identity: hostname: foo-ubuntu password: "qqqaaaqqqaaa" username:...
lior_azroel's user avatar
0 votes
0 answers
235 views

autoinstall ubuntu 22.04 LTS autoinstall does not work in uefi mode

I'm working on autoinstall ubuntu 22 for my company (using VMWare and PXE). It works fine with legacy configs, but not with UEFI. I have continued the install process to the end and then get the ...
Jean-Francois's user avatar
1 vote
1 answer
137 views

Autoinstall Lubuntu

I successfully was able to autoinstall Ubuntu Server 22.04 by calling following GRUB commands. <my-server> provides a user-data config file where users will be created etc. linux /casper/vmlinuz ...
pykereaper's user avatar
3 votes
7 answers
18k views

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 ...
bizarreApple's user avatar
0 votes
1 answer
2k views

Server Autoinstall and Partitions

I'm learning about the cloud-config-ish autoinstall tool subiquity and I keep running into a problem where the autoinstall works, but it won't follow my configuration for the storage: section. Here's ...
Rob D.'s user avatar
  • 23
3 votes
1 answer
6k views

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 result: Setup: /...
awm's user avatar
  • 158
2 votes
0 answers
592 views

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 ...
jgaida's user avatar
  • 21
3 votes
1 answer
3k views

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 ...
Fang's user avatar
  • 221
0 votes
1 answer
1k views

Problems with autoinstall

I'm trying out the new autoinstall method that supersedes the classical debian installer. I've built the following configs: user-data: #cloud-config autoinstall: version: 1 identity: hostname: ...
Fang's user avatar
  • 221
1 vote
1 answer
2k views

ubuntu autoinstall interface names

It seems not possible on Ubuntu autoinstallations (14.04.3 and 15.04) to configure the right network interface via preseed. Ubuntu sometimes uses eth0, and sometimes interfaces like p2p1, or p1p3. I ...
eXe's user avatar
  • 111