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 Jan 1, 2025
1 parent e8204c5 commit fed48df
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -283,11 +283,18 @@ ls -lah
echo "free space:"
df -h

ova="$osname-$VM_RELEASE.qcow2"


output="$osname-$VM_RELEASE"
if [ "$VM_ARCH" ]; then
output="$osname-$VM_RELEASE-$VM_ARCH"
fi

ova="$output.qcow2"
echo "Exporting $ova"
$vmsh exportOVA $osname "$ova"

cp ~/.ssh/id_rsa $osname-$VM_RELEASE-host.id_rsa
cp ~/.ssh/id_rsa $output-host.id_rsa

echo "contents after export:"
ls -lah
Expand Down

0 comments on commit fed48df

Please sign in to comment.