Initial commit
This commit is contained in:
6
Packer/scripts/vagrant-ssh.bat
Executable file
6
Packer/scripts/vagrant-ssh.bat
Executable file
@@ -0,0 +1,6 @@
|
||||
:: 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
|
||||
)
|
||||
Reference in New Issue
Block a user