Skip to content

Commit

Permalink
Update vdi.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
IanSeyler committed Jan 30, 2020
1 parent dbfa30b commit 4f52b77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vdi.sh
Expand Up @@ -11,7 +11,7 @@ qemu-img convert -O vdi "$OUTPUT_DIR/disk.img" "$OUTPUT_DIR/BareMetal_OS.vdi"
echo $VDI > VDI_UUID.hex
xxd -r -p VDI_UUID.hex VDI_UUID.bin

dd if=VDI_UUID.bin of="$OUTPUT_DIR/BareMetal_OS.vdi" count=1 bs=512 conv=notrunc
dd if=VDI_UUID.bin of="$OUTPUT_DIR/BareMetal_OS.vdi" count=1 bs=512 conv=notrunc > /dev/null 2>&1

rm VDI_UUID.hex
rm VDI_UUID.bin

0 comments on commit 4f52b77

Please sign in to comment.