File tree 4 files changed +18
-2
lines changed
4 files changed +18
-2
lines changed Original file line number Diff line number Diff line change
1
+ wget -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg &&
2
+ echo " deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $( lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list &&
3
+ sudo apt-get update && sudo apt install vagrant
Original file line number Diff line number Diff line change
1
+ sudo apt-get install virtualbox
Original file line number Diff line number Diff line change 4
4
5
5
function usage(){
6
6
7
- cat << EOF
7
+ cat << EOF
8
8
9
9
Usage: $( basename " $0 " ) [options] <argument>
10
10
85
85
fi
86
86
87
87
# # install required collections
88
+ #! /bin/bash
89
+
90
+ # Check if Vagrant is installed
91
+ if command -v vagrant & > /dev/null
92
+ then
93
+ echo " Vagrant is installed"
94
+ vagrant --version
95
+ else
96
+ sh scripts/install_vagrant.sh
97
+ fi
98
+
99
+ sh scripts/install_virtual_box.sh
88
100
ansible-galaxy collection install -r requirements.yml
89
101
90
- # # provision the server
102
+ # provision the server
91
103
if [ -z " $STACK_SERVER " ]; then
92
104
lint_vagrant
93
105
vagrant up
You can’t perform that action at this time.
0 commit comments