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: sysfs, path: sys, fstype: sysfs }
|
||||
- { 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
|
||||
vars:
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
path: /mnt/usr/local/install/redhat/dvd
|
||||
fstype: none
|
||||
opts: bind
|
||||
state: mounted
|
||||
state: ephemeral
|
||||
|
||||
- name: Rebuild RPM database inside chroot
|
||||
ansible.builtin.command: "{{ chroot_command }} rpm --rebuilddb"
|
||||
|
||||
Reference in New Issue
Block a user