mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 17:26:28 +00:00
tools: Fix guestfs invocation (vmdk and dynamic-vhd)
Looks like bc791e60e7
("Update docs and test cases to work with
latest format versions") accidentally replaced 'qcow2' with
'qcow2-bios' for two of the output formats. Fix it.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
parent
dd73698b77
commit
c582907b19
@ -40,7 +40,7 @@ cd ..
|
||||
tar cf files.tar -C files .
|
||||
|
||||
# Disk is created in qcow format.
|
||||
virt-make-fs --size=25G --type=ext4 --partition files.tar --format=qcow2-bios disk.qcow
|
||||
virt-make-fs --size=25G --type=ext4 --partition files.tar --format=qcow2 disk.qcow
|
||||
|
||||
guestfish -a disk.qcow -m /dev/sda1 <<EOF
|
||||
upload /usr/lib/SYSLINUX/mbr.bin /mbr.bin
|
||||
|
@ -40,7 +40,7 @@ cd ..
|
||||
tar cf files.tar -C files .
|
||||
|
||||
# Disk is created in qcow format, testing needed to see if raw->vmdk conversion makes any efficency gains
|
||||
virt-make-fs --size=1G --type=ext4 --partition files.tar --format=qcow2-bios disk.qcow
|
||||
virt-make-fs --size=1G --type=ext4 --partition files.tar --format=qcow2 disk.qcow
|
||||
|
||||
guestfish -a disk.qcow -m /dev/sda1 <<EOF
|
||||
upload /usr/lib/SYSLINUX/mbr.bin /mbr.bin
|
||||
|
Loading…
Reference in New Issue
Block a user