summaryrefslogtreecommitdiffstats
path: root/fuel-plugin/vagrant/build_fuel_plugin.sh
diff options
context:
space:
mode:
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