Files
linuxkit/alpine/cloud/azure/raw2vhd.sh
Nathan LeClaire e9b7803867 Migrate cloud build off of bind mounts
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2016-09-14 15:38:05 -07:00

8 lines
194 B
Bash
Executable File

#!/bin/sh
set -e
>&2 echo "Converting raw image file to VHD..."
qemu-img convert -f raw -O vpc -o subformat=fixed /tmp/mobylinux.img /tmp/mobylinux.vhd 1>&2
>&2 echo "Done converting to VHD."