Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
roktas committed Oct 19, 2023
1 parent a1ed225 commit 8cda0f0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 5 additions & 0 deletions foundation/clean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,8 @@ if [[ -n $clean_aggresive ]]; then
# Keep man directory tree to avoid bugs
mkdir -p /usr/share/man/man[1-9]
fi

if [[ $(systemd-detect-virt) == virtualbox ]]; then
dd if=/dev/zero of=/var/tmp/bigemptyfile bs=4096k || true
rm -f /var/tmp/bigemptyfile
fi
5 changes: 0 additions & 5 deletions virtualization/virtualbox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,3 @@ if [[ -f /vagrant/VBoxGuestAdditions.iso ]]; then
umount /mnt
fi
fi

if [[ $(systemd-detect-virt) == virtualbox ]]; then
dd if=/dev/zero of=/var/tmp/bigemptyfile bs=4096k || true
rm -f /var/tmp/bigemptyfile
fi

0 comments on commit 8cda0f0

Please sign in to comment.