mirror of
https://github.com/jbowdre/vsphere-k8s.git
synced 2024-12-22 19:52:18 +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'
|