Different aproche for ISO mounting

This commit is contained in:
2024-10-30 19:30:12 +01:00
parent 4d242ad987
commit 173ecd299b
3 changed files with 3 additions and 3 deletions

View File

@@ -18,7 +18,7 @@
ansible.builtin.lineinfile:
path: /mnt/etc/fstab
regexp: '^.*\/dvd.*$'
line: "{{ '/dev/loop0' if hypervisor == 'vmware' else '/dev/sr0' }} /usr/local/install/redhat/dvd iso9660 ro,relatime,nojoliet,check=s,map=n 0 0"
line: "/dev/sr0 /usr/local/install/redhat/dvd iso9660 ro,relatime,nojoliet,check=s,map=n 0 0"
state: present
backrefs: true