From 5d6b44058a8d907fbc64865c0be4d298e0e55a82 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 4 Jul 2020 23:25:51 +0200 Subject: install/preseed: convert old host configs to new partman layout --- inventory/host_vars/ch-equinox-ws.yml | 18 ++++++++++++++++++ inventory/host_vars/ele-telesto.yml | 25 +++++++++++++++++++++++-- inventory/host_vars/lw-telesto.yml | 25 +++++++++++++++++++++++-- 3 files changed, 64 insertions(+), 4 deletions(-) (limited to 'inventory') diff --git a/inventory/host_vars/ch-equinox-ws.yml b/inventory/host_vars/ch-equinox-ws.yml index d71f38d8..84ca3962 100644 --- a/inventory/host_vars/ch-equinox-ws.yml +++ b/inventory/host_vars/ch-equinox-ws.yml @@ -5,6 +5,24 @@ install: efi: true disks: primary: /dev/disk/by-id/nvme-Samsung_SSD_970_PRO_1TB_S462NF0MA04112K + system_lvm: + volumes: + - name: root + size: 30G + filesystem: ext4 + mountpoint: / + - name: var+log + size: 768M + filesystem: ext4 + mountpoint: /var/log + mount_options: + - noatime + - nodev + - noexec + - name: home + size: 200G + filesystem: ext4 + mountpoint: /home network: nameservers: "{{ network_zones.lan.dns }}" diff --git a/inventory/host_vars/ele-telesto.yml b/inventory/host_vars/ele-telesto.yml index a8b2b162..8fe1376d 100644 --- a/inventory/host_vars/ele-telesto.yml +++ b/inventory/host_vars/ele-telesto.yml @@ -1,9 +1,30 @@ --- base_modules_blacklist: "{{ base_modules_blacklist_all_but_sound }}" -preseed_template_name: "xubuntu-eoan-desktop-with-raid" +preseed_template_name: "xubuntu-focal-desktop" -install: {} +install: + disks: + primary: software-raid + raid: + level: 1 + members: + - /dev/sda + - /dev/sdb + system_lvm: + volumes: + - name: root + size: 20G + filesystem: ext4 + mountpoint: / + - name: var+log + size: 768M + filesystem: ext4 + mountpoint: /var/log + mount_options: + - noatime + - nodev + - noexec network: nameservers: "{{ network_zones.lan.dns }}" diff --git a/inventory/host_vars/lw-telesto.yml b/inventory/host_vars/lw-telesto.yml index 4a10338e..a225d787 100644 --- a/inventory/host_vars/lw-telesto.yml +++ b/inventory/host_vars/lw-telesto.yml @@ -1,9 +1,30 @@ --- base_modules_blacklist: "{{ base_modules_blacklist_all_but_sound }}" -preseed_template_name: "xubuntu-eoan-desktop-with-raid" +preseed_template_name: "xubuntu-focal-desktop" -install: {} +install: + disks: + primary: software-raid + raid: + level: 1 + members: + - /dev/sda + - /dev/sdb + system_lvm: + volumes: + - name: root + size: 20G + filesystem: ext4 + mountpoint: / + - name: var+log + size: 768M + filesystem: ext4 + mountpoint: /var/log + mount_options: + - noatime + - nodev + - noexec network: nameservers: -- cgit v1.2.3