From: Pawel Wieczorek
Date: Mon, 8 Jun 2020 14:22:10 +0000 (+0200)
Subject: Adjust default storage device argument on Vagrant-based minimal ONAP deployment
X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F60%2F108960%2F2;p=integration.git
Adjust default storage device argument on Vagrant-based minimal ONAP deployment
Default storage device changed in Vagrant box "generic/ubuntu1804" after
updating the libvirt disk bus to "virtio"; details:
https://github.com/lavabit/robox/commit/ca3b82d00c770ff70283d4d4d22f60a8ae363b0f
Issue-ID: ONAPARC-551
Change-Id: Ib8ab062f5e32f625148ed45c58985549857309ae
Signed-off-by: Pawel Wieczorek
---
diff --git a/bootstrap/vagrant-minimal-onap/Vagrantfile b/bootstrap/vagrant-minimal-onap/Vagrantfile
index 1214a30d5..bd162431e 100644
--- a/bootstrap/vagrant-minimal-onap/Vagrantfile
+++ b/bootstrap/vagrant-minimal-onap/Vagrantfile
@@ -106,7 +106,7 @@ $install_make = <<-SCRIPT
SCRIPT
$resize_disk = <<-SCRIPT
- DEV=${1:-sda}
+ DEV=${1:-vda}
PART=${2:-3}
echo ", +" | sfdisk -N "$PART" "/dev/$DEV" --no-reread
partprobe