diff options
author | 2024-03-14 10:03:27 -0700 | |
---|---|---|
committer | 2024-03-14 10:03:27 -0700 | |
commit | 38adee2975d8c66a1374ba965dea3cf017a8c103 (patch) | |
tree | be1976c5f533eaff77697aa9c140f48a61b04d18 | |
parent | feat(install_gentoo): more disk control (diff) | |
download | ansible-38adee2975d8c66a1374ba965dea3cf017a8c103.tar.gz ansible-38adee2975d8c66a1374ba965dea3cf017a8c103.tar.bz2 ansible-38adee2975d8c66a1374ba965dea3cf017a8c103.zip |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rw-r--r-- | roles/install_gentoo/tasks/disks.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/install_gentoo/tasks/disks.yml b/roles/install_gentoo/tasks/disks.yml index c712109..3db4da9 100644 --- a/roles/install_gentoo/tasks/disks.yml +++ b/roles/install_gentoo/tasks/disks.yml @@ -110,3 +110,11 @@ tags: - lvm - vgcreate + + # Dracut has a subtle bug: given rd.lvm=1 rd.lvm.vg=VGNAME as boot paramters, + # and an *empty* VG (no LVs), the boot will hang. Make a LV as workaround. + - name: lvcreate stub + ansible.builtin.command: "lvcreate -L 4m -n test {{ hostname }}" + tags: + - lvm + - lvcreate |