Skip to content
Permalink
e42bc5c08d
Go to file
 
 
Cannot retrieve contributors at this time
11 lines (8 sloc) 290 Bytes
#!/bin/bash -eux
# Remove Ansible and its dependencies.
yum -y remove ansible
# Zero out the rest of the free space using dd, then delete the written file.
dd if=/dev/zero of=/EMPTY bs=1M
rm -f /EMPTY
# Add `sync` so Packer doesn't quit too early, before the large file is deleted.
sync
You can’t perform that action at this time.