mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-24 08:45:13 +00:00
Vagrantfile: cosmetic: remove tabs / empty lines
This commit is contained in:
parent
df5482d7fc
commit
6bb363c707
1 changed files with 4 additions and 7 deletions
11
Vagrantfile
vendored
11
Vagrantfile
vendored
|
@ -172,14 +172,14 @@ def packages_cygwin(version)
|
||||||
set CYGSETUP=#{setup_exe}
|
set CYGSETUP=#{setup_exe}
|
||||||
REM --- Install build version of CygWin in a subfolder
|
REM --- Install build version of CygWin in a subfolder
|
||||||
set OURPATH=%cd%
|
set OURPATH=%cd%
|
||||||
set CYGBUILD="C:\\cygwin\\CygWin"
|
set CYGBUILD="C:\\cygwin\\CygWin"
|
||||||
set CYGMIRROR=ftp://mirrors.kernel.org/sourceware/cygwin/
|
set CYGMIRROR=ftp://mirrors.kernel.org/sourceware/cygwin/
|
||||||
set BUILDPKGS=python3,python3-setuptools,binutils,gcc-g++,libopenssl,openssl-devel,git,make,openssh,liblz4-devel,liblz4_1,rsync,curl,python-devel
|
set BUILDPKGS=python3,python3-setuptools,binutils,gcc-g++,libopenssl,openssl-devel,git,make,openssh,liblz4-devel,liblz4_1,rsync,curl,python-devel
|
||||||
%CYGSETUP% -q -B -o -n -R %CYGBUILD% -L -D -s %CYGMIRROR% -P %BUILDPKGS%
|
%CYGSETUP% -q -B -o -n -R %CYGBUILD% -L -D -s %CYGMIRROR% -P %BUILDPKGS%
|
||||||
cd /d C:\\cygwin\\CygWin\\bin
|
cd /d C:\\cygwin\\CygWin\\bin
|
||||||
regtool set /HKLM/SYSTEM/CurrentControlSet/Services/OpenSSHd/ImagePath "C:\\cygwin\\CygWin\\bin\\cygrunsrv.exe"
|
regtool set /HKLM/SYSTEM/CurrentControlSet/Services/OpenSSHd/ImagePath "C:\\cygwin\\CygWin\\bin\\cygrunsrv.exe"
|
||||||
bash -c "ssh-host-config --no"
|
bash -c "ssh-host-config --no"
|
||||||
' > /cygdrive/c/cygwin/install.bat
|
' > /cygdrive/c/cygwin/install.bat
|
||||||
cd /cygdrive/c/cygwin && cmd.exe /c install.bat
|
cd /cygdrive/c/cygwin && cmd.exe /c install.bat
|
||||||
|
|
||||||
echo "alias mkdir='mkdir -p'" > ~/.profile
|
echo "alias mkdir='mkdir -p'" > ~/.profile
|
||||||
|
@ -201,7 +201,6 @@ def install_cygwin_venv
|
||||||
EOF
|
EOF
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
def install_pyenv(boxname)
|
def install_pyenv(boxname)
|
||||||
return <<-EOF
|
return <<-EOF
|
||||||
curl -s -L https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash
|
curl -s -L https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash
|
||||||
|
@ -344,13 +343,11 @@ end
|
||||||
def fix_perms
|
def fix_perms
|
||||||
return <<-EOF
|
return <<-EOF
|
||||||
# . ~/.profile
|
# . ~/.profile
|
||||||
|
|
||||||
if id "vagrant" >/dev/null 2>&1; then
|
if id "vagrant" >/dev/null 2>&1; then
|
||||||
chown -R vagrant /vagrant/borg
|
chown -R vagrant /vagrant/borg
|
||||||
else
|
else
|
||||||
chown -R ubuntu /vagrant/borg
|
chown -R ubuntu /vagrant/borg
|
||||||
fi
|
fi
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue