Add Autorun for linux share
This commit is contained in:
parent
adb719e5ed
commit
b12e79bb47
|
@ -127,6 +127,8 @@ Vagrant.configure("2") do |config|
|
|||
win2k8.vm.provision :shell, inline: "rm C:\\tmp\\vagrant-shell.bat" # Hack for this bug: https://github.com/mitchellh/vagrant/issues/7614
|
||||
|
||||
# Insecure share from the Linux machine
|
||||
win2k8.vm.provision :shell, path: "scripts/installs/install_share_autorun.bat"
|
||||
win2k8.vm.provision :shell, inline: "rm C:\\tmp\\vagrant-shell.bat" # Hack for this bug: https://github.com/mitchellh/vagrant/issues/7614
|
||||
win2k8.vm.provision :shell, path: "scripts/installs/setup_linux_share.bat"
|
||||
win2k8.vm.provision :shell, inline: "rm C:\\tmp\\vagrant-shell.bat" # Hack for this bug: https://github.com/mitchellh/vagrant/issues/7614
|
||||
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
copy C:\vagrant\scripts\installs\setup_linux_share.bat C:\Windows
|
||||
reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Run /v share /t REG_SZ /d "C:\Windows\setup_linux_share.bat" /f
|
Loading…
Reference in New Issue