summaryrefslogtreecommitdiffstats
path: root/fuel-plugin/vagrant/build_fuel_plugin.sh
diff options
context:
space:
mode:
authorGuo Ruijing <ruijing.guo@intel.com>2017-03-02 16:33:37 -0500
committerGuo Ruijing <ruijing.guo@intel.com>2017-03-05 10:52:52 -0800
commit10713de83e93f478e2601a0e79f594d66cceb7dd (patch)
treee0040459a996e15e254a1c6b18ba07bf51496c56 /fuel-plugin/vagrant/build_fuel_plugin.sh
parentb46c26876daa6e47072270bba7e0635cbcc5002d (diff)
Add disk to vagrant for fuel plugin build
1. add 500G disk to vagrant 2. change build home to /mnt in guest 3. do some basic test Change-Id: If58db0322dc9f1c23a8e6ed065f876e34bea872f Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Diffstat (limited to 'fuel-plugin/vagrant/build_fuel_plugin.sh')
-rwxr-xr-xfuel-plugin/vagrant/build_fuel_plugin.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/fuel-plugin/vagrant/build_fuel_plugin.sh b/fuel-plugin/vagrant/build_fuel_plugin.sh
index e315b111f..35cb1add9 100755
--- a/fuel-plugin/vagrant/build_fuel_plugin.sh
+++ b/fuel-plugin/vagrant/build_fuel_plugin.sh
@@ -4,7 +4,12 @@ sudo apt-get install -y ruby-dev rubygems-integration python-pip rpm createrepo
sudo gem install fpm
sudo pip install fuel-plugin-builder
sudo apt-get install docker.io -y
-cd /home/vagrant
+
+echo y | sudo mkfs.ext4 /dev/sdb
+sudo mount /dev/sdb /mnt
+sudo chown vagrant:vagrant /mnt
+
+cd /mnt
# Will build fuel-plugin-kvm in guest VM local directory, not change host
cp -r /kvmfornfv .
cd kvmfornfv/fuel-plugin