Skip to content

Commit

Permalink
workaround: added early commands section in the template - https://bu…
Browse files Browse the repository at this point in the history
  • Loading branch information
marmila committed Jan 26, 2025
1 parent 1d6c3f7 commit 98cc870
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions ansible/host_vars/node-esp-1.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 98cc870

Please sign in to comment.