Fix examples of how to create VM images #22
1 changed files with 2 additions and 0 deletions
|
@ -6861,6 +6861,8 @@ Use as replacement for autopkgtest-build-qemu and vmdb2:
|
||||||
part-set-bootable /dev/sda 1 true : \
|
part-set-bootable /dev/sda 1 true : \
|
||||||
mkfs ext4 /dev/sda1 : mount /dev/sda1 / : \
|
mkfs ext4 /dev/sda1 : mount /dev/sda1 / : \
|
||||||
tar-in debian-unstable.tar / xattrs:true : \
|
tar-in debian-unstable.tar / xattrs:true : \
|
||||||
|
upload /usr/lib/EXTLINUX/mbr.bin /boot/mbr.bin : \
|
||||||
|
copy-file-to-device /boot/mbr.bin /dev/sda size:440 : \
|
||||||
extlinux / : copy-in extlinux.conf / : sync : umount / : shutdown
|
extlinux / : copy-in extlinux.conf / : sync : umount / : shutdown
|
||||||
$ qemu-img convert -O qcow2 debian-unstable.img debian-unstable.qcow2
|
$ qemu-img convert -O qcow2 debian-unstable.img debian-unstable.qcow2
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue