summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bootstrap/vagrant-onap/Vagrantfile4
-rw-r--r--[-rwxr-xr-x]bootstrap/vagrant-onap/lib/sdc (renamed from bootstrap/vagrant-onap/lib/asdc)8
2 files changed, 6 insertions, 6 deletions
diff --git a/bootstrap/vagrant-onap/Vagrantfile b/bootstrap/vagrant-onap/Vagrantfile
index e39ccbd62..5eb22d71f 100644
--- a/bootstrap/vagrant-onap/Vagrantfile
+++ b/bootstrap/vagrant-onap/Vagrantfile
@@ -160,7 +160,7 @@ Vagrant.configure("2") do |config|
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 @@ Vagrant.configure("2") do |config|
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
index fb7b40b04..9d64d57da 100755..100644
--- a/bootstrap/vagrant-onap/lib/asdc
+++ b/bootstrap/vagrant-onap/lib/sdc
@@ -9,7 +9,7 @@ src_folder=$git_src_folder/sdc
# 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 @@ unit: sectors
/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 @@ function install_sdc {
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