fix(bootstrap): RHEL 9 bootstrap from Arch ISO compatibility

This commit is contained in:
2026-02-20 16:45:29 +01:00
parent 8070cc4196
commit 14ff79cfd0
7 changed files with 52 additions and 5 deletions

View File

@@ -1,4 +1,28 @@
---
- name: Create API filesystem mountpoints in installroot
when: is_rhel | bool
ansible.builtin.file:
path: "/mnt/{{ item }}"
state: directory
mode: "0755"
loop:
- dev
- proc
- sys
- name: Mount API filesystems into installroot
when: is_rhel | bool
ansible.posix.mount:
src: "{{ item.src }}"
path: "/mnt/{{ item.path }}"
fstype: "{{ item.fstype }}"
opts: "{{ item.opts | default(omit) }}"
state: ephemeral
loop:
- { src: proc, path: proc, fstype: proc }
- { src: sysfs, path: sys, fstype: sysfs }
- { src: /dev, path: dev, fstype: none, opts: bind }
- name: Run OS-specific bootstrap process
vars:
bootstrap_os_task_map: