fix(bootstrap): add devpts mount and use ephemeral state for RHEL DVD

This commit is contained in:
sandwich committed 2026-02-20 20:12:59 +01:00
1 parent bbe3ad9a07
commit 64b1296fe2
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -22,6 +22,7 @@
- { src: proc, path: proc, fstype: proc } - { src: proc, path: proc, fstype: proc }
- { src: sysfs, path: sys, fstype: sysfs } - { src: sysfs, path: sys, fstype: sysfs }
- { src: /dev, path: dev, fstype: none, opts: bind } - { src: /dev, path: dev, fstype: none, opts: bind }
- { src: devpts, path: dev/pts, fstype: devpts, opts: "gid=5,mode=620" }
- name: Run OS-specific bootstrap process - name: Run OS-specific bootstrap process
vars: vars:
+1 -1
View File
@@ -25,7 +25,7 @@
path: /mnt/usr/local/install/redhat/dvd path: /mnt/usr/local/install/redhat/dvd
fstype: none fstype: none
opts: bind opts: bind
state: mounted state: ephemeral
- name: Rebuild RPM database inside chroot - name: Rebuild RPM database inside chroot
ansible.builtin.command: "{{ chroot_command }} rpm --rebuilddb" ansible.builtin.command: "{{ chroot_command }} rpm --rebuilddb"