mirror of
https://github.com/jbowdre/vsphere-k8s.git
synced 2024-11-25 09:12:17 +00:00
4 lines
186 B
Bash
4 lines
186 B
Bash
#!/bin/bash -eu
|
|
echo '>> Zeroing free space to reduce disk size'
|
|
sudo sh -c 'dd if=/dev/zero of=/EMPTY bs=1M || true; sync; sleep 1; sync'
|
|
sudo sh -c 'rm -f /EMPTY; sync; sleep 1; sync'
|