fix(bootstrap): add devpts mount and use ephemeral state for RHEL DVD
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user