Commit 8887a6c8 authored by Sven-Hendrik Haase's avatar Sven-Hendrik Haase
Browse files

Merge branch 'virtualbox-fix' into 'master'

Fix incorrect path to packer-virtualbox.vmdk

See merge request !122
parents a49153b6 5a6f0b2e
Pipeline #1847 passed with stages
in 28 minutes and 17 seconds
......@@ -200,7 +200,7 @@ EOF
cp "${ORIG_PWD}/box.ovf" .
sed -e "s/MACHINE_UUID/$(uuidgen)/" \
-e "s/DISK_UUID/$(uuidgen)/" \
-e "s/DISK_CAPACITY/$(qemu-img info --output=json "box/packer-virtualbox.vmdk" | jq '."virtual-size"')/" \
-e "s/DISK_CAPACITY/$(qemu-img info --output=json "packer-virtualbox.vmdk" | jq '."virtual-size"')/" \
-e "s/UNIX/$(date +%s)/" \
-e "s/MAC_ADDRESS/${mac_address}/" \
-i box.ovf
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment