mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	[WINDOWS] Put spice-vdagent etc in unattended.iso
Signed-off-by: Dani Llewellyn <diddledani@ubuntu.com>
This commit is contained in:
		
							parent
							
								
									4a382c5273
								
							
						
					
					
						commit
						945160abe6
					
				
					 1 changed files with 9 additions and 21 deletions
				
			
		
							
								
								
									
										30
									
								
								quickget
									
										
									
									
									
								
							
							
						
						
									
										30
									
								
								quickget
									
										
									
									
									
								
							|  | @ -261,34 +261,19 @@ function unattended_windows() { | |||
|           <Order>1</Order> | ||||
|         </SynchronousCommand> | ||||
|         <SynchronousCommand wcm:action="add"> | ||||
|           <CommandLine>curl.exe -L -o C:\Windows\TEMP\spice-webdavd-x64.msi https://www.spice-space.org/download/windows/spice-webdavd/spice-webdavd-x64-latest.msi</CommandLine> | ||||
|           <Description>Download spice-webdavd file sharing agent</Description> | ||||
|           <CommandLine>msiexec /i F:\spice-webdavd-x64-latest.msi /quiet /passive /qn</CommandLine> | ||||
|           <Description>Install spice-webdavd file sharing agent</Description> | ||||
|           <Order>2</Order> | ||||
|         </SynchronousCommand> | ||||
|         <SynchronousCommand wcm:action="add"> | ||||
|           <CommandLine>msiexec /i C:\Windows\TEMP\spice-webdavd-x64.msi /quiet /passive /qn</CommandLine> | ||||
|           <Description>Install spice-webdavd file sharing agent</Description> | ||||
|           <CommandLine>msiexec /i F:\UsbDk_1.0.22_x64.msi /quiet /passive /qn</CommandLine> | ||||
|           <Description>Install usbdk USB sharing agent</Description> | ||||
|           <Order>3</Order> | ||||
|         </SynchronousCommand> | ||||
|         <SynchronousCommand wcm:action="add"> | ||||
|           <CommandLine>curl.exe -L -o C:\Windows\TEMP\usbdk-x64.msi https://www.spice-space.org/download/windows/usbdk/UsbDk_1.0.22_x64.msi</CommandLine> | ||||
|           <Description>Download usbdk USB sharing agent</Description> | ||||
|           <Order>4</Order> | ||||
|         </SynchronousCommand> | ||||
|         <SynchronousCommand wcm:action="add"> | ||||
|           <CommandLine>msiexec /i C:\Windows\TEMP\usbdk-x64.msi /quiet /passive /qn</CommandLine> | ||||
|           <Description>Install usbdk USB sharing agent</Description> | ||||
|           <Order>5</Order> | ||||
|         </SynchronousCommand> | ||||
|         <SynchronousCommand wcm:action="add"> | ||||
|           <CommandLine>curl.exe -L -o C:\Windows\TEMP\spice-vdagent-x64.msi https://www.spice-space.org/download/windows/vdagent/vdagent-win-0.10.0/spice-vdagent-x64-0.10.0.msi</CommandLine> | ||||
|           <Description>Download spice-vdagent SPICE agent</Description> | ||||
|           <Order>6</Order> | ||||
|         </SynchronousCommand> | ||||
|         <SynchronousCommand wcm:action="add"> | ||||
|           <CommandLine>msiexec /i C:\Windows\TEMP\spice-vdagent-x64.msi /quiet /passive /qn</CommandLine> | ||||
|           <CommandLine>msiexec /i F:\spice-vdagent-x64-0.10.0.msi /quiet /passive /qn</CommandLine> | ||||
|           <Description>Install spice-vdagent SPICE agent</Description> | ||||
|           <Order>7</Order> | ||||
|           <Order>4</Order> | ||||
|         </SynchronousCommand> | ||||
|       </FirstLogonCommands> | ||||
|     </component> | ||||
|  | @ -666,6 +651,9 @@ function get_windows() { | |||
|             10|11) | ||||
|                 echo "Making unattended.iso" | ||||
|                 mkdir -p "${VM_PATH}/unattended" 2>/dev/null | ||||
|                 web_get https://www.spice-space.org/download/windows/spice-webdavd/spice-webdavd-x64-latest.msi "${VM_PATH}/unattended" | ||||
|                 web_get https://www.spice-space.org/download/windows/vdagent/vdagent-win-0.10.0/spice-vdagent-x64-0.10.0.msi "${VM_PATH}/unattended" | ||||
|                 web_get https://www.spice-space.org/download/windows/usbdk/UsbDk_1.0.22_x64.msi "${VM_PATH}/unattended" | ||||
|                 unattended_windows "${VM_PATH}/unattended/autounattend.xml" | ||||
|                 mkisofs -quiet -l -o "${VM_PATH}/unattended.iso" "${VM_PATH}/unattended/" | ||||
|                 ;; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue