Skip to content

Commit

Permalink
Use a simpler disk mounting command
Browse files Browse the repository at this point in the history
We don't actually need this sort of control on the SCSI setup.
  • Loading branch information
FlorentRevest committed Feb 21, 2024
1 parent f8196fb commit 7111135
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tasks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,7 @@ fi
-device virtio-net-pci,netdev=net0 -netdev user,id=net0,hostfwd=tcp::5555-:22 \
-virtfs local,path=/,mount_tag=hostfs,security_model=none,multidevs=remap \
-append \"console=${SERIAL_TTY},115200 root=/dev/sda rw nokaslr init=/lib/systemd/systemd debug systemd.log_level=info ${KERNEL_CMDLINE_EXTRA}\" \
-drive if=none,id=hd,file=${IMAGE_PATH},format=raw -device virtio-scsi-pci,id=scsi -device scsi-hd,drive=hd \
-kernel ${KERNEL_PATH} ${VM_START_ARGS}"}
-drive file=${IMAGE_PATH},format=raw -kernel ${KERNEL_PATH} ${VM_START_ARGS}"}

case "${COMMAND}" in
# Virtual machine life-cycle
Expand Down

0 comments on commit 7111135

Please sign in to comment.