Questions tagged [curtin]

Curtin is a low-level installation tool. It is used as part of Subiquity for partition creation, writing the installation image, boot configuration, and for other in-target tasks. Curtin is also used as part of MAAS.

38 questions
10
votes
2 answers

Disable auto update at end of autoinstall/cloud-init

I have a working cloud-init that is deployed using packer. Once the VM is booted and the autoinstall is completed, Ubuntu does the auto update thing. This seems to take forever to complete and is an unneeded step since we hand over to puppet after…
7
votes
2 answers

What is "curtin command in-target" and why does it take so long to run?

I frequently install Ubuntu on VMs running under Proxmox or VMware. Every time the installer gets to curtin command in-target and stays there for at least half an hour, sometimes much longer. The Ubuntu installer at this point gives an option to…
4
votes
2 answers

How to add apt repository with Ubuntu autoinstall

I'm trying to test out the Ubuntu autoinstall and I'm struggling to figure out how to work with the apt section. My goal is to install for example git and docker, which would look like that on a regular terminal…
alon ay
  • 41
3
votes
1 answer

Curtin installer failing

Trying to provision a server, and it fails with the error below. It isn't clear why. I grep'd /etc/maas/preseeds for block-meta and simple and found neither. So I'm not sure when/where this is getting called. I've provisioned over a dozen servers…
esacteksab
  • 93
  • 1
  • 5
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
0 answers

ubuntu installer hangs forever at "executing late commands" on autoinstall

I'm trying to install my Ubuntu server 20.04.03 using autoinstall. I don't have any "late-commands", but the installer hangs at "executing late commands". Installer: full log: Full syslog: https://paste.ubuntu.com/p/wzrRTF3ptt/ "autoinstall"…
Yuxuan Lu
  • 131
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

autoinstall - using webhooks for reporting

autoinstall includes the option to report to a webhook: reporting: hook: type: webhook endpoint: http://example.com/endpoint/path consumer_key: "ck_foo" consumer_secret: "cs_foo" token_key: "tk_foo" token_secret: "tk_secret" level:…
Fang
  • 221
  • 3
  • 11
2
votes
1 answer

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 host). At first I thought the problem was…
Mr. T
  • 201
2
votes
2 answers

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" username: abcabc source: id:…
Utz
  • 139
  • 3
  • 15
2
votes
1 answer

How does curtin, cloud-init and the ephemeral image work?

I wanted to understand how dos cloud-init, curtin and the ephemeral image work together. I’m trying to write the role of each in the MAAS architecture. Cloud-init has two configuration sources: Cloud provider-supplied metadata: this stage happens…
jbacelo
  • 33
1
vote
0 answers

What do these Ubuntu 24.04.2 LTS install errors indicate is needed to prevent installation crashes?

I am trying to install ubuntu-24.04.2-desktop-amd64.iso on this hardware. This is a PC, not a server: Motherboard: 2016 ASUS 10XDAi1/C BIOS: Aptios Setup Utility v3.4, AHCI enabled, Secure Boot disabled, UEFI enabled (Legacy disabled), no Fast…
1
vote
0 answers

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 through Curtin storage documentation, it seems that…
1
vote
3 answers

Autoinstall support both EFI and Legacy boot

I'm trying to install Ubuntu 22.04 using Autoinstall. My generated ISO that includes userdata.yml (main autoinstall's file) has storage section, that should support both EFI and Legacy boot, but I cannot find a way to implement it. Storage section…
Utz
  • 139
  • 3
  • 15
1
vote
3 answers

Server 22.04.1 subiquity autoinstall - system-install command fails after changing NIC name using netplan

Issue: I'm trying to use packer to create an Ubuntu Server 22.04 image and I'm running into issues when it comes to renaming the NIC using a valid netplan config and then also installing one package. A couple things to note on the background: I'm…
Tuxington
  • 13
  • 1
  • 1
  • 4
1
2 3