gns3-registry/packer/oracle/scripts/post_setup.sh
2022-12-23 05:34:21 +02:00

11 lines
179 B
Bash

#!/bin/sh
set -ex
# clear repository
dnf clean all
# clear unused space
echo 'Clearing unused space...'
dd if=/dev/zero bs=1M of=/zero >/dev/null 2>&1 || true; rm -f /zero
sync