mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-24 16:55:36 +00:00
parent
4714a453a8
commit
b09e4eff86
1 changed files with 2 additions and 1 deletions
3
Vagrantfile
vendored
3
Vagrantfile
vendored
|
@ -201,7 +201,6 @@ def packages_cygwin(version)
|
|||
regtool set /HKLM/SYSTEM/CurrentControlSet/Services/OpenSSHd/ImagePath "C:\\cygwin\\CygWin\\bin\\cygrunsrv.exe"
|
||||
bash -c "ssh-host-config --no"
|
||||
' > /cygdrive/c/cygwin/install.bat
|
||||
cd /cygdrive/c/cygwin && cmd.exe /c install.bat
|
||||
|
||||
echo "alias mkdir='mkdir -p'" > ~/.profile
|
||||
echo "export CYGWIN_ROOT=/cygdrive/c/cygwin/CygWin" >> ~/.profile
|
||||
|
@ -211,6 +210,8 @@ def packages_cygwin(version)
|
|||
|
||||
cmd.exe /c 'setx /m PATH "%PATH%;C:\\cygwin\\CygWin\\bin"'
|
||||
source ~/.profile
|
||||
cd /cygdrive/c/cygwin && cmd.exe /c install.bat
|
||||
|
||||
echo 'db_home: windows' > $CYGWIN_ROOT/etc/nsswitch.conf
|
||||
EOF
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue