Cleanup
This commit is contained in:
		
							parent
							
								
									424bd0a051
								
							
						
					
					
						commit
						3c882f8913
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		
							
								
								
									
										3
									
								
								runme.sh
									
										
									
									
									
								
							
							
						
						
									
										3
									
								
								runme.sh
									
										
									
									
									
								
							|  | @ -1,6 +1,6 @@ | |||
| #!/bin/bash | ||||
| appdir=$(cd `dirname $0` && pwd) | ||||
| apptmp='/dev/shm' | ||||
| apptmp='/tmp' | ||||
| vmsize='8G' | ||||
| vmmem='2G' | ||||
| k8sdsk="${apptmp}/k8s.raw" | ||||
|  | @ -14,6 +14,7 @@ installvm() { | |||
|     wget -cO ${apptmp}/kernel ${httpboot}/linux  | ||||
|     wget -cO ${apptmp}/initrd ${httpboot}/initrd.gz | ||||
|     ${qemu} -kernel ${apptmp}/kernel -initrd ${apptmp}/initrd -append "console=ttyS0,115200n8 apt-setup/proposed=true nomodeset fb=false priority=critical locale=en_US url=${seed}"  | ||||
|     rm -f ${apptmp}/kernel ${apptmp}/initrd | ||||
| } | ||||
| runvm() { | ||||
|     echo "Look like we already has VM, let's go" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue