qemu dependencies and fixed disk to install to
This commit is contained in:
		
							parent
							
								
									a36ebcb064
								
							
						
					
					
						commit
						f0b627e1cf
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		
							
								
								
									
										3
									
								
								init.sh
									
										
									
									
									
								
							
							
						
						
									
										3
									
								
								init.sh
									
										
									
									
									
								
							|  | @ -25,6 +25,7 @@ dd if=win of=win.iso | ||||||
| rm -rf win | rm -rf win | ||||||
| 
 | 
 | ||||||
| # qemu | # qemu | ||||||
|  | # install qemu libvirt-daemon spice-vdagent spice-client-gtk | ||||||
| SPICE_PORT=5924 | SPICE_PORT=5924 | ||||||
| qemu-system-x86_64 \ | qemu-system-x86_64 \ | ||||||
|     -enable-kvm \ |     -enable-kvm \ | ||||||
|  | @ -37,7 +38,7 @@ qemu-system-x86_64 \ | ||||||
|     -vga qxl \ |     -vga qxl \ | ||||||
|     -boot d \ |     -boot d \ | ||||||
|     -cdrom win.iso \ |     -cdrom win.iso \ | ||||||
|     -drive file=/dev/sda,cache=none,if=virtio \ |     -drive file=/dev/sdb,cache=none,if=virtio \     # change drive if needed | ||||||
|     -spice port=${SPICE_PORT},disable-ticketing \ |     -spice port=${SPICE_PORT},disable-ticketing \ | ||||||
|     -device virtio-serial \ |     -device virtio-serial \ | ||||||
|     -chardev spicevmc,id=vdagent,name=vdagent \ |     -chardev spicevmc,id=vdagent,name=vdagent \ | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue