Adjust default storage device argument on Vagrant-based minimal ONAP deployment 60/108960/2
authorPawel Wieczorek <p.wieczorek2@samsung.com>
Mon, 8 Jun 2020 14:22:10 +0000 (16:22 +0200)
committerPawel Wieczorek <p.wieczorek2@samsung.com>
Fri, 12 Jun 2020 05:24:29 +0000 (07:24 +0200)
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 <p.wieczorek2@samsung.com>
bootstrap/vagrant-minimal-onap/Vagrantfile

index 1214a30..bd16243 100644 (file)
@@ -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