Skip to content

Commit

Permalink
Merge pull request #2 from LKHN/fix-mnt-del
Browse files Browse the repository at this point in the history
Fix the deletion of /mnt while unmount Guest ISO
  • Loading branch information
ezamriy authored Jul 28, 2022
2 parents 9dc6420 + 7677b67 commit dffae47
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
fstype: iso9660
opts: loop
state: mounted
fstab: /tmp/tmp.fstab

- name: Install VirtualBox Guest Additions
command: /mnt/VBoxLinuxAdditions.run --nox11
Expand All @@ -37,7 +38,10 @@
mount:
path: /mnt
src: "{{ vbox_additions_iso_path }}"
state: absent
fstype: iso9660
opts: loop
state: unmounted
fstab: /tmp/tmp.fstab

- name: Remove VBoxGuestAdditions.iso
file:
Expand Down

0 comments on commit dffae47

Please sign in to comment.