-
Notifications
You must be signed in to change notification settings - Fork 0
/
run.sh
executable file
·43 lines (27 loc) · 828 Bytes
/
run.sh
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
30
31
32
33
34
35
36
37
38
39
40
#!/bin/bash
set -e
echo " install vagrant plugins"
vagrant plugin install vagrant-disksize
vagrant plugin install vagrant-vbguest
#armbian vagrant version
echo "clone armbian vagrant version"
git clone https://github.com/armbian/build armbian-vagrant
echo "change to armbian-vagrant"
#cd $(dirname armbian-vagrant)
pushd armbian-vagrant
echo "save orginal Vagrantfile save"
cp Vagrantfile Vagrantfile_save
echo "replace Vagrantfile"
cp ../Vagrantfile Vagrantfile
cp ../compile_and_start_felmode* .
echo "vagrant box update => we will work with the last version"
vagrant box update
echo "vagrant up"
echo "the next thning make the provisioning_script inside the Vagrantfile"
vagrant up
#vagrant status
popd
echo "\n\n\n"
echo "change to armbian-vagrant"
echo "type simple for Login inside Box"
echo "vagrant ssh"