mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-05 03:15:36 +00:00
Merge pull request #1944 from justincormack/qemu-multiple-disks
Support multiple disks in qemu
This commit is contained in:
@@ -19,5 +19,5 @@ trap clean_up EXIT
|
||||
|
||||
moby build -output qcow2 -name "${NAME}" test.yml
|
||||
[ -f "${NAME}.qcow2" ] || exit 1
|
||||
linuxkit run qemu -disk-format qcow2 "${NAME}.qcow2" | grep -q "Welcome to LinuxKit"
|
||||
linuxkit run qemu "${NAME}.qcow2" | grep -q "Welcome to LinuxKit"
|
||||
exit 0
|
||||
|
||||
@@ -19,7 +19,7 @@ trap clean_up EXIT
|
||||
# Test code goes here
|
||||
moby build -output kernel+initrd run.yml
|
||||
moby build -output kernel+initrd mkimage.yml
|
||||
linuxkit run qemu -disk-size 200 -disk-format qcow2 -disk disk.qcow2 -kernel mkimage
|
||||
linuxkit run qemu -disk disk.qcow2,size=200M,format=qcow2 -kernel mkimage
|
||||
linuxkit run qemu disk.qcow2
|
||||
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user