File: Vagrantfile

package info (click to toggle)
libitext5-java 5.5.13.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 183,364 kB
  • sloc: xml: 255,662; java: 151,222; makefile: 7
file content (28 lines) | stat: -rw-r--r-- 995 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
$script = <<SCRIPT
#!/usr/bin/env bash

apt-get update
apt-get -y install dos2unix git git-flow ghostscript imagemagick maven mc openjdk-7-jdk php5-cli screen

git config --global color.ui true
git config --global core.abbrev 10
git config --global core.editor nano
git config --global core.abbrev 10
git config --global --bool pull.rebase true
git config --global branch.autosetupmerge always
git config --global branch.autosetuprebase always
git config --global core.autocrlf input
git config --global core.safecrlf false
git config --global apply.whitespace nowarn
git config --global push.default simple
git config --global alias.ignore '!gi() { curl -L -s https://www.gitignore.io/api/$@ ;}; gi'
SCRIPT

Vagrant.configure(2) do |config|
  config.vm.box = "ubuntu/trusty64"
  config.vm.provision :shell, inline: $script
  config.ssh.shell = "bash -c 'BASH_ENV=/etc/profile exec bash'"
  config.vm.provider :virtualbox do |vb|
    vb.customize ["modifyvm", :id, "--memory", "2048"]
  end
end