-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathVagrantfile
29 lines (29 loc) · 1.53 KB
/
Vagrantfile
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
29
Vagrant.configure(2) do |config|
config.vm.provider "virtualbox" do |v|
v.memory = 1800
end
config.vm.box = "boxcutter/ubuntu1604"
config.vm.provision "shell", inline: <<-SHELL
cat << EOF | sudo tee /etc/apt/sources.list
deb [arch=amd64] http://fr.archive.ubuntu.com/ubuntu/ xenial main
deb [arch=amd64] http://fr.archive.ubuntu.com/ubuntu/ xenial restricted
deb [arch=amd64] http://fr.archive.ubuntu.com/ubuntu/ xenial multiverse
deb [arch=amd64] http://fr.archive.ubuntu.com/ubuntu/ xenial universe
deb [arch=amd64] http://fr.archive.ubuntu.com/ubuntu/ xenial-backports main
deb [arch=amd64] http://fr.archive.ubuntu.com/ubuntu/ xenial-backports restricted
deb [arch=amd64] http://fr.archive.ubuntu.com/ubuntu/ xenial-backports multiverse
deb [arch=amd64] http://fr.archive.ubuntu.com/ubuntu/ xenial-backports universe
deb [arch=amd64] http://fr.archive.ubuntu.com/ubuntu/ xenial-updates main
deb [arch=amd64] http://fr.archive.ubuntu.com/ubuntu/ xenial-updates restricted
deb [arch=amd64] http://fr.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
deb [arch=amd64] http://fr.archive.ubuntu.com/ubuntu/ xenial-updates universe
deb [arch=amd64] http://security.ubuntu.com/ubuntu xenial-security main
deb [arch=amd64] http://security.ubuntu.com/ubuntu xenial-security restricted
deb [arch=amd64] http://security.ubuntu.com/ubuntu xenial-security multiverse
deb [arch=amd64] http://security.ubuntu.com/ubuntu xenial-security universe
EOF
sudo apt-get update
sudo locale-gen fr_FR.UTF-8
sudo apt-get install -y python-pip
SHELL
end