https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264267

--- Comment #18 from Michael Baptist <mbaptist.opensou...@gmail.com> ---
(In reply to Mark Johnston from comment #17)

Not sure the instructions that show the steps for Gen 1 that you were
referencing, but the main difference when using the Azure CLI is specifying
--hyper-v-generation V2 option.

What I normally do is:

1. make buildworld buildkernel
2. make release
3. mdconfig vnode -f .img file (generated from make release)
4. Create 2g file via truncate.
5. mdconfig that 2g file
6. dd md0 => md1 
7. qemu-img convert 2g file with bits to VHD

Uploading to Azure:

Create disk for upload (using gen2 option)
get access token for disk
use az storage copy to upload the vhd to the disk
create a virtual machine image (using gen2 option)
delete disk

Is looks like there is a Makefile.azure also in release, but I haven't tried
that.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to