7 lines
		
	
	
		
			315 B
		
	
	
	
		
			Batchfile
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			315 B
		
	
	
	
		
			Batchfile
		
	
	
		
			Executable File
		
	
	
	
	
:: vagrant public key
 | 
						|
if exist a:\vagrant.pub (
 | 
						|
  copy a:\vagrant.pub C:\Users\vagrant\.ssh\authorized_keys
 | 
						|
) else (
 | 
						|
  powershell -Command "(New-Object System.Net.WebClient).DownloadFile('https://raw.githubusercontent.com/mitchellh/vagrant/master/keys/vagrant.pub', 'C:\Users\vagrant\.ssh\authorized_keys')" <NUL
 | 
						|
)
 |