improved comments and added autoattend to iso
This commit is contained in:
		
							parent
							
								
									0d3522b4b0
								
							
						
					
					
						commit
						69c1fb8eef
					
				
					 1 changed files with 7 additions and 5 deletions
				
			
		
							
								
								
									
										12
									
								
								init.sh
									
										
									
									
									
								
							
							
						
						
									
										12
									
								
								init.sh
									
										
									
									
									
								
							|  | @ -4,17 +4,19 @@ | ||||||
| mkdir -p /mnt/iso | mkdir -p /mnt/iso | ||||||
| mount -o loop Win10* /mnt/iso | mount -o loop Win10* /mnt/iso | ||||||
| 
 | 
 | ||||||
| # copy iso files | ## copy iso files | ||||||
| mkdir -p win | mkdir -p win | ||||||
| cp -r /mnt/iso/* win/ | cp -r /mnt/iso/* win/ | ||||||
| 
 | 
 | ||||||
| # clean up mount | ## clean up mount | ||||||
| umount /mnt/iso | umount /mnt/iso | ||||||
| rm -rf /mnt/iso | rm -rf /mnt/iso | ||||||
| #rm Win* | rm Win* | ||||||
| 
 | 
 | ||||||
| # copy answerfile | # end extract iso | ||||||
| cp autounattend.xml | 
 | ||||||
|  | # add answerfile | ||||||
|  | cp autounattend.xml win/ | ||||||
| 
 | 
 | ||||||
| # recreate iso | # recreate iso | ||||||
| dd if=win of=win.iso | dd if=win of=win.iso | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue