Merge "Replace src_folder for mr_src_folder"
diff --git a/bootstrap/vagrant-onap/Vagrantfile b/bootstrap/vagrant-onap/Vagrantfile
index e39ccbd..5eb22d7 100644
--- a/bootstrap/vagrant-onap/Vagrantfile
+++ b/bootstrap/vagrant-onap/Vagrantfile
@@ -160,7 +160,7 @@
end
all_in_one.vm.provision 'shell' do |s|
s.path = 'vagrant_utils/postinstall.sh'
- s.args = ['mr', 'asdc', 'aai', 'mso', 'robot', 'vid', 'sdnc', 'portal', 'dcae', 'policy', 'appc', 'vfc']
+ s.args = ['mr', 'sdc', 'aai', 'mso', 'robot', 'vid', 'sdnc', 'portal', 'dcae', 'policy', 'appc', 'vfc']
s.env = conf
end
end
@@ -217,7 +217,7 @@
end
sdc.vm.provision 'shell' do |s|
s.path = 'vagrant_utils/postinstall.sh'
- s.args = ['asdc']
+ s.args = ['sdc']
s.env = conf
end
end
diff --git a/bootstrap/vagrant-onap/lib/asdc b/bootstrap/vagrant-onap/lib/sdc
old mode 100755
new mode 100644
similarity index 94%
rename from bootstrap/vagrant-onap/lib/asdc
rename to bootstrap/vagrant-onap/lib/sdc
index fb7b40b..9d64d57
--- a/bootstrap/vagrant-onap/lib/asdc
+++ b/bootstrap/vagrant-onap/lib/sdc
@@ -9,7 +9,7 @@
# mount_external_partition() - Create partition and mount the external volume
function mount_external_partition {
- cat <<EOL > /tmp/asdc_ext_volume_partitions.txt
+ cat <<EOL > /tmp/sdc_ext_volume_partitions.txt
# partition table of /dev/sdb
unit: sectors
@@ -18,7 +18,7 @@
/dev/sdb3 : start= 0, size= 0, Id= 0
/dev/sdb4 : start= 0, size= 0, Id= 0
EOL
- sfdisk --force /dev/sdb < /tmp/asdc_ext_volume_partitions.txt
+ sfdisk --force /dev/sdb < /tmp/sdc_ext_volume_partitions.txt
mkfs -t ext4 /dev/sdb1
mkdir -p /data
mount /dev/sdb1 /data
@@ -96,8 +96,8 @@
fi
}
-# init_asdc() - Function that initialize SDC services
-function init_asdc {
+# init_sdc() - Function that initialize SDC services
+function init_sdc {
mount_external_partition
init_data_folders
setup_docker_aliases