Adding the flag -S in tar command

This commit is contained in:
Waldirio M Pinheiro 2017-03-20 04:26:52 -03:00
parent a43942fb75
commit 80313a2225

View File

@ -118,7 +118,7 @@ EOF
echo "==> Creating box, tarring and gzipping"
tar cvzf "$BOX" --totals ./metadata.json ./Vagrantfile ./box.img
tar cvzf "$BOX" -S --totals ./metadata.json ./Vagrantfile ./box.img
# if box is in tmpdir move it to CWD before removing tmpdir
if ! isabspath "$BOX"; then