[installer]: remove dockerfs archive file after unzip (#476)
This commit is contained in:
parent
f4bc4a68b8
commit
803c530adf
@ -402,7 +402,7 @@ ${onie_bin} mount -t ext4 -o defaults,rw $demo_dev $demo_mnt || {
|
||||
unzip $ONIE_INSTALLER_PAYLOAD -d $demo_mnt
|
||||
|
||||
if [ -f $demo_mnt/$FILESYSTEM_DOCKERFS ]; then
|
||||
cd $demo_mnt && mkdir -p $DOCKERFS_DIR && tar xf $FILESYSTEM_DOCKERFS -C $DOCKERFS_DIR; cd $OLDPWD
|
||||
cd $demo_mnt && mkdir -p $DOCKERFS_DIR && tar xf $FILESYSTEM_DOCKERFS -C $DOCKERFS_DIR && rm -f $FILESYSTEM_DOCKERFS; cd $OLDPWD
|
||||
fi
|
||||
|
||||
# Create loop device for /var/log to limit its size to $VAR_LOG_SIZE MB
|
||||
|
Loading…
Reference in New Issue
Block a user