aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
authorPawel Wieczorek <p.wieczorek2@samsung.com>2020-06-24 11:25:01 +0200
committerPawel Wieczorek <p.wieczorek2@samsung.com>2020-07-03 13:27:42 +0200
commitbface100d23a44624d2f81fb357ee750fac4f419 (patch)
tree69b0a420a5bd537d4818dd169365532dfb9667c0 /bootstrap
parent661972cd5a8a208d39d58c87be694355a17bef7e (diff)
Update Operation box in Vagrant environment
Currently developed upstream components version verification tool requires modern execution environment (Python 3.7+) which was not available in previously used Vagrant box. Upgrading only Operation box to Ubuntu Focal (20.04) does not affect ONAP cluster in any way - cluster still runs on Ubuntu Bionic (18.04). Issue-ID: INT-1571 Change-Id: I51c68723aa0c0b65dcaa7a199316e33a4ece18ff Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
Diffstat (limited to 'bootstrap')
-rw-r--r--bootstrap/vagrant-minimal-onap/Vagrantfile7
1 files changed, 6 insertions, 1 deletions
diff --git a/bootstrap/vagrant-minimal-onap/Vagrantfile b/bootstrap/vagrant-minimal-onap/Vagrantfile
index 2bdee65e2..682ce6bd7 100644
--- a/bootstrap/vagrant-minimal-onap/Vagrantfile
+++ b/bootstrap/vagrant-minimal-onap/Vagrantfile
@@ -22,6 +22,7 @@ vm_memory_onap = 64 * 1024
vm_cpu = 1
vm_cpus = 8
vm_box = "generic/ubuntu1804"
+vm_box_op = "generic/ubuntu2004"
vm_disk = 32
vm_disk_onap = 64
vm_storage_pool = "default"
@@ -30,6 +31,7 @@ operation = {
name: 'operator',
hostname: 'operator',
ip: '172.17.4.254',
+ box: vm_box_op,
cpus: vm_cpu,
memory: vm_memory,
disk: vm_disk,
@@ -39,6 +41,7 @@ devstack = {
name: 'devstack',
hostname: 'devstack',
ip: '172.17.4.200',
+ box: vm_box,
cpus: vm_cpu,
memory: vm_memory_os,
disk: vm_disk,
@@ -48,6 +51,7 @@ control = {
name: 'control',
hostname: 'control',
ip: '172.17.4.100',
+ box: vm_box,
cpus: vm_cpu,
memory: vm_memory,
disk: vm_disk,
@@ -57,6 +61,7 @@ worker = {
name: 'worker',
hostname: 'worker',
ip: '172.17.4.101',
+ box: vm_box,
cpus: vm_cpus,
memory: vm_memory_onap,
disk: vm_disk_onap,
@@ -212,7 +217,7 @@ SCRIPT
Vagrant.configure('2') do |config|
all.each do |machine|
config.vm.define machine[:name] do |config|
- config.vm.box = vm_box
+ config.vm.box = machine[:box]
config.vm.hostname = machine[:hostname]
config.vm.provider :virtualbox do |v|