From 98cc870dcc0ed4d615f79645dcc0b3e47666b97a Mon Sep 17 00:00:00 2001 From: Marco Milano Date: Sun, 26 Jan 2025 18:13:42 +0100 Subject: [PATCH] workaround: added early commands section in the template - https://bugs.launchpad.net/subiquity/+bug/2064742 --- ansible/host_vars/node-esp-1.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ansible/host_vars/node-esp-1.yml b/ansible/host_vars/node-esp-1.yml index 71a4f32a..4ffe08ec 100644 --- a/ansible/host_vars/node-esp-1.yml +++ b/ansible/host_vars/node-esp-1.yml @@ -1,5 +1,14 @@ --- autoinstall: + early-commands: + - | + # Stop SSH to prevent interference during the installation process + systemctl stop ssh + # Clear any existing partition tables and create required partitions on /dev/sda + sgdisk --clear /dev/sda + sgdisk -n 1:4096:+1075M -c 1:"EFI System Partition" -t 1:ef00 /dev/sda + sgdisk -n 2:0:+2G -c 2:"Boot Partition" -t 2:8304 /dev/sda + sgdisk -n 3:0:0 -c 3:"LVM Physical Volume" -t 3:8e00 /dev/sda storage: grub: reorder_uefi: false