aboutsummaryrefslogtreecommitdiffstats
path: root/build/vagrant/build_fuel.sh
diff options
context:
space:
mode:
authorGuo Ruijing <ruijing.guo@intel.com>2016-06-28 00:42:50 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-06-28 00:42:50 +0000
commit82d7776efa109d031412baa91e91b3b91bbb06fb (patch)
tree3cbf37c54b2acd9b913392a04d23829e3b117578 /build/vagrant/build_fuel.sh
parentf2656175b7aff1aa7ef5b32e6dfdf1858b612102 (diff)
parenta309502b20dfc99828b8a3d17656369151d77157 (diff)
Merge "Add fuel@opnfv build based on vagrant"
Diffstat (limited to 'build/vagrant/build_fuel.sh')
-rwxr-xr-xbuild/vagrant/build_fuel.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/build/vagrant/build_fuel.sh b/build/vagrant/build_fuel.sh
new file mode 100755
index 000000000..051ee4dfd
--- /dev/null
+++ b/build/vagrant/build_fuel.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+sudo apt-get update
+sudo apt-get install -y vagrant virtualbox
+vagrant destroy -f; vagrant up
+vagrant ssh -c "sudo apt-get update; sudo apt-get install -y linux-generic-lts-vivid"
+vagrant reload
+vagrant ssh -c "/vagrant/setup_fuel.sh"
+vagrant ssh -c "cd fuel/build; make; cp fuel*.iso /vagrant"