Skip to content

Commit

Permalink
Update from base builder
Browse files Browse the repository at this point in the history
  • Loading branch information
Neilpang committed Dec 12, 2023
1 parent 0048771 commit ec7f1f2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,10 @@ if [ "$VM_ISO_LINK" ]; then
done

elif [ "$VM_VHD_LINK" ]; then
if [ ! -e "$osname.qcow2.xz" ]; then
$vmsh download "$VM_VHD_LINK" $osname.qcow2.xz
fi

if [ ! -e "$osname.qcow2" ]; then
if [ ! -e "$osname.qcow2.xz" ]; then
$vmsh download "$VM_VHD_LINK" $osname.qcow2.xz
fi
xz -d -T 0 --verbose "$osname.qcow2.xz"
fi

Expand Down

0 comments on commit ec7f1f2

Please sign in to comment.