diff --git a/Vagrantfile b/Vagrantfile index f0fc021..89f4102 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -13,7 +13,7 @@ Vagrant.configure("2") do |config| vb.memory = "4096" vb.cpus = 2 end - config.vm.provision :shell, path: "bootstrap-mgmt.sh" + config.vm.provision :shell, path: "bootstrap-gitlab.sh" config.vm.provision "ansible" do |ansible| ansible.playbook = "ansible/gitlab_server.yml" ansible.groups = { diff --git a/bootstrap-gitlab.sh b/bootstrap-gitlab.sh new file mode 100644 index 0000000..7f91c73 --- /dev/null +++ b/bootstrap-gitlab.sh @@ -0,0 +1,12 @@ +!/usr/bin/env bash + +## install ansible (http://docs.ansible.com/intro_installation.html) +# apt-get -y install software-properties-common +# apt-add-repository -y ppa:ansible/ansible +apt-get update +apt-get -y install tree + +sed -i "s/PasswordAuthentication no/PasswordAuthentication yes/g" /etc/ssh/sshd_config + +ln -fs /usr/share/zoneinfo/Europe/Paris /etc/localtime +dpkg-reconfigure --frontend noninteractive tzdata