Remove old code

This commit is contained in:
Fierelier 2022-05-23 03:32:15 +02:00
parent bff176ee38
commit 6b5cdf9b7b

View File

@ -8,8 +8,6 @@ if
export DISK_SIZE=$(du -sb "$1" | cut -f1)
# Add 256MB for SWAP, and 700MB for overhead
export DISK_SIZE=$(( $DISK_SIZE + ( 256 * 1000000 ) + ( 700 * 1000000 ) ))
# Add size of additional files
export DISK_SIZE=$(( $DISK_SIZE + $(du -sb "$OPUS_HOME/input/root-image" | cut -f1) ))
# Create and mount disk
fallocate -l $DISK_SIZE "$DISK_IMAGE"