1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-03-03 14:52:21 +02:00

Update Vagrantfile:

* Change box provider to bento (hoping for better stability with Docker).
* Install texlive from Debian packages.
This commit is contained in:
David Steele 2016-09-06 11:02:01 -04:00
parent dd8d781217
commit cedfcbd4be

17
test/Vagrantfile vendored
View File

@ -4,7 +4,7 @@ Vagrant.configure(2) do |config|
vb.cpus = 8
end
config.vm.box = "boxcutter/ubuntu1604"
config.vm.box = "bento/ubuntu-16.04"
config.vm.provider :virtualbox do |vb|
vb.name = "backrest-test"
@ -30,20 +30,7 @@ Vagrant.configure(2) do |config|
apt-get install -y vim htop
# Install Texlive
mkdir /root/texlive
wget -q -O - http://mirror.hmc.edu/ctan/systems/texlive/tlnet/install-tl-unx.tar.gz \
| tar zxv -C /root//texlive --strip-components=1
echo "collection-basic 1" >> /root/texlive/texlive.profile
echo "collection-latex 1" >> /root/texlive/texlive.profile
/root/texlive/install-tl -profile=/root/texlive/texlive.profile
echo 'PATH=/usr/local/texlive/2016/bin/x86_64-linux:$PATH' >> /etc/profile
echo 'export PATH' >> /etc/profile
/usr/local/texlive/2016/bin/x86_64-linux/tlmgr install caption xcolor listings parskip helvetic ltablex titlesec \
epstopdf courier sectsty pgf ms
apt-get install -y ghostscript
apt-get install -y texlive texlive-latex-extra
# Create backrest user and postgres group
groupadd -g5000 postgres