change disque mount methode
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
719fb9bfcf
commit
bc0f4de5e4
1 changed files with 4 additions and 1 deletions
|
|
@ -61,7 +61,10 @@ qemu-system-x86_64 \
|
|||
-serial mon:stdio \
|
||||
-monitor unix:/tmp/vm-build.mon-sock,server,nowait \
|
||||
-drive file=/opt/seed/${os}_seed.iso,media=cdrom,if=ide \
|
||||
-drive file=${disk_dir}/${os}-tmp.qcow2,format=qcow2,if=virtio \
|
||||
\
|
||||
-drive file=${disk_dir}/${os}-tmp.qcow2,format=qcow2,if=none,id=vda \
|
||||
-device virtio-blk-pci,drive=vda,bootindex=0 \
|
||||
\
|
||||
-device virtio-scsi-pci,id=scsi0 \
|
||||
\
|
||||
-drive file=${disk_dir}/${os}-root.qcow2,if=none,id=hd0 \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue