Skip to content

Commit 3d3528f

Browse files
committed
[installer]: remove dockerfs archive file after unzip
1 parent b7d2009 commit 3d3528f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

installer/x86_64/install.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ ${onie_bin} mount -t ext4 -o defaults,rw $demo_dev $demo_mnt || {
402402
unzip $ONIE_INSTALLER_PAYLOAD -d $demo_mnt
403403
404404
if [ -f $demo_mnt/$FILESYSTEM_DOCKERFS ]; then
405-
cd $demo_mnt && mkdir -p $DOCKERFS_DIR && tar xf $FILESYSTEM_DOCKERFS -C $DOCKERFS_DIR; cd $OLDPWD
405+
cd $demo_mnt && mkdir -p $DOCKERFS_DIR && tar xf $FILESYSTEM_DOCKERFS -C $DOCKERFS_DIR && rm -f $FILESYSTEM_DOCKERFS; cd $OLDPWD
406406
fi
407407
408408
# Create loop device for /var/log to limit its size to $VAR_LOG_SIZE MB

0 commit comments

Comments
 (0)