changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > infra / scripts/build-win11-vm.sh

changeset 371: 7dcabf3e0edc
parent: 7f630461bf3e
author: Richard Westhaver <ellis@rwest.io>
date: Tue, 24 Sep 2024 15:53:24 -0400
permissions: -rwxr-xr-x
description: no link in bootstrap.sh
1 #!/bin/sh
2 # build vm.linux.raw
3 OUT=".stash/box"
4 qemu-img create -f raw $OUT/vm.win11.raw 64G
5 cd $OUT
6 curl -O "https://packy.compiler.company/box/win11-virtio.iso"
7 sudo qemu-system-x86_64 -cdrom win11-x86_64.iso -hda vm.win11.raw -boot d -accel kvm -m 8G -usbdevice tablet -cpu host -drive file=win11-virtio.iso