Questions tagged [curtin]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
2answers
113 views

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 ...
0
votes
1answer
187 views

Ubuntu 20.04 autoinstall: print late-commands output

I have an autoinstall config: #cloud-config autoinstall: version: 1 late-commands: - curtin in-target --interactive --target=/target -- echo "Hello! This is output from late-commands"...
1
vote
0answers
105 views

curtin script: set size as remaining space on disk

I am using maas 2.9 on ubuntu 20.04 server os to install ubuntu 20.04 images. Issue 1: how to create last partition with remaining space? To create a custom storage configuration, I have added the ...
0
votes
0answers
110 views

Error Deploying Ubuntu 20.04 in configuration state with maas 2.9 stable

Setting up thermald (1.9.1-1ubuntu0.3) ... Created symlink /etc/systemd/system/dbus-org.freedesktop.thermald.service → /lib/systemd/system/thermald.service. Created symlink /etc/...
1
vote
1answer
164 views

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 ...
0
votes
0answers
160 views

Ubuntu 20.04 autoinstall post installation script

I have setup Ubuntu 20.04 auto-install PXE and everything works, now i want to run my post-install.sh script after installation which does some custome stuff for me like install HP server utility, ...
0
votes
0answers
78 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 ...
0
votes
1answer
91 views

Ubuntu 20.04 installer not working

Installer looping on error I am using Cubic to build an Ubuntu appliance ISO. My procedure building the ISO was working up to 16th December but is not working now. The install goes into a cycle every ...
0
votes
0answers
181 views

Subiquity installer fails - Curtin storage/disk configuration

Trying to install Ubuntu 20.04 using cloud-init installer. I've copied the LVM example from chapter 5 section 5.2.2. https://curtin.readthedocs.io/_/downloads/en/stable/pdf/ storage: version: 1 ...
5
votes
1answer
994 views

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 ...
0
votes
1answer
298 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: ...
3
votes
0answers
66 views

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: "...
0
votes
1answer
214 views

Netplan apply fails on udevadm settle during 20.04 autoinstaller

During execution of the network section of the new Subiquity server autoinstaller it fails with a non-zero return code on netplan apply, which in turn runs udevadm settle -t 0 over and over again ...
1
vote
1answer
405 views

curtin/autoinstall storage section fails on swap mount in config

I'm using storage section of autoinstal for simple custom /dev/sda disk layout: sda1 (512MB) /boot, sda2 (2GB) swap, sda3 (-1) /. I'm having problem defining swap properly. Curtin docs claim it to be: ...
1
vote
2answers
565 views

My Ubuntu 20.04 auto install is failing - how can I open a shell?

I have an autoinstall on a custom 20.04 ISO I'm building using Cubic. Subiquity is writing a Curtin log and providing a path but I can't for the life of me work out how to break into a shell. This has ...
1
vote
0answers
15 views

Is it possible to install specific package versions used by the installer, before the installer runs?

The current version of Curtin on the 20.04 live installer fails to properly detect my disks, and I thus cannot install Ubuntu 20.04. A newer version of Curtin has fixed this issue (19.3-68-g6cbdc02d-...
1
vote
1answer
596 views

Why does the 20.04 installer think that a plain linux raid is made up of 2 x /dev/sdb2 partitions?

I've been trying to figure out this one for a few evenings now. I downloaded the 20.04 server installer, and tried to install it on a linux raid which I configured in the installer. This consistently ...
0
votes
1answer
387 views

MaaS: Use Cloud-Init to automatically customize deployment process

I'm trying to do the following for a week with no luck! I'd like to create a MACVLAN during machine deployment process. I've already provided a code for this process using Cloud-Init syntax: #cloud-...
0
votes
1answer
490 views

Create user with curtin installer - MAAS

I'm trying to create a user with a non-encrypted password in my server deployed via MAAS using curtin installer. User: installer Password: lowpass In my curtin_userdata file I have these lines: ...
3
votes
1answer
3k views

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 ...