Add qemu-localboot
This commit is contained in:
parent
f6fb350523
commit
1618190b22
1 changed files with 12 additions and 1 deletions
13
Makefile
13
Makefile
|
|
@ -134,7 +134,18 @@ qemu: qemu-network $(qemu_disk) docker-services
|
|||
-enable-kvm \
|
||||
-m 1G \
|
||||
-net nic \
|
||||
-net tap,ifname=$(qemu_ifname_tap),script=no,downscript=no
|
||||
-net tap,ifname=$(qemu_ifname_tap),script=no,downscript=no \
|
||||
-boot order=n
|
||||
|
||||
.PHONY: qemu-localboot
|
||||
qemu-localboot: qemu-network $(qemu_disk)
|
||||
qemu-system-x86_64 \
|
||||
-drive format=raw,file="$(qemu_disk)" \
|
||||
-enable-kvm \
|
||||
-m 1G \
|
||||
-net nic \
|
||||
-net tap,ifname=$(qemu_ifname_tap),script=no,downscript=no \
|
||||
-boot order=c
|
||||
|
||||
.PHONY: qemu-tftp docker-services
|
||||
qemu-tftp: tmp/tftproot tmp/tftproot/images tmp/tftproot/debian-installer/amd64/boot-screens/txt.cfg qemu-network $(qemu_disk)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue