Use QEMU 6.x options
.gitlab/ci/build-host.sh: Change parameters to qemu's `-drive` option to make use of the explicit `read-only=on`, as the implicit `read-only` is now obsolete.
This commit is contained in:
parent
42cdf8674a
commit
c58b44f016
@ -71,7 +71,7 @@ function start_qemu() {
|
|||||||
-initrd initramfs-linux.img \
|
-initrd initramfs-linux.img \
|
||||||
-append "archisobasedir=arch archisolabel=${ISO_VOLUME_ID} cow_spacesize=4G ip=dhcp net.ifnames=0 console=ttyS0 mirror=${MIRROR}" \
|
-append "archisobasedir=arch archisolabel=${ISO_VOLUME_ID} cow_spacesize=4G ip=dhcp net.ifnames=0 console=ttyS0 mirror=${MIRROR}" \
|
||||||
-drive file=scratch-disk.img,format=raw,if=virtio \
|
-drive file=scratch-disk.img,format=raw,if=virtio \
|
||||||
-drive file="${ISO}",format=raw,if=virtio,media=cdrom,read-only \
|
-drive file="${ISO}",format=raw,if=virtio,media=cdrom,read-only=on \
|
||||||
-virtfs "local,path=${ORIG_PWD},mount_tag=host,security_model=none" \
|
-virtfs "local,path=${ORIG_PWD},mount_tag=host,security_model=none" \
|
||||||
-monitor none \
|
-monitor none \
|
||||||
-serial pipe:guest \
|
-serial pipe:guest \
|
||||||
|
Loading…
Reference in New Issue
Block a user