Showing
1 changed file
with
0 additions
and
12 deletions
vargant-all.sh
deleted
100755 → 0
1 | -#!/usr/bin/env bash | ||
2 | -rm Vagrantfile | ||
3 | -vagrant init bento/debian-8.5 | ||
4 | -cp Vagrantfile Vagrantfile.tmp | ||
5 | -sed 's/ # config.vm.synced_folder/ config.vm.synced_folder/' < Vagrantfile.tmp > Vagrantfile | ||
6 | -cp Vagrantfile Vagrantfile.tmp | ||
7 | -sed 's/ # config.vm.provision.*$/ config.vm.provision :shell, path: "bootstrap.sh"/' < Vagrantfile.tmp > Vagrantfile | ||
8 | -cp Vagrantfile Vagrantfile.tmp | ||
9 | -sed 's/ # config.vm.network "forwarded_port".*$/ config.vm.network :forwarded_port, guest: 8080, host: 8080/' < Vagrantfile.tmp > Vagrantfile | ||
10 | -rm Vagrantfile.tmp | ||
11 | -mkdir -p ../data | ||
12 | -vagrant up |
-
Please register or login to post a comment