mirror of
https://github.com/jbowdre/vsphere-k8s.git
synced 2024-12-01 11:02:18 +00:00
5 lines
186 B
Bash
5 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'
|