aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap
diff options
context:
space:
mode:
authorIdan Amit <ia096e@intl.att.com>2017-08-20 16:05:46 +0300
committerVictor Morales <victor.morales@intel.com>2017-08-30 14:58:25 -0500
commitbf1e7f0d0f88f5645f2e0b97dcbf885b69251b58 (patch)
tree050ed980d43197fcf4c3e6fc0ab577785ccb3cf7 /bootstrap/vagrant-onap
parentd353af8be5100d2ff55d0082f72d760ceb68b521 (diff)
Changed asdc script back to sdc
The I2eb9ff087d3cfd61c0c1347d085dd02da64c2d89 change allows to revert this change Change-Id: Iafb1d2455f7f1b06b218b4bc1509177823d89dc2 Issue-Id: INT-101 Signed-off-by: Idan Amit <ia096e@intl.att.com> Signed-off-by: Victor Morales <victor.morales@intel.com>
Diffstat (limited to 'bootstrap/vagrant-onap')
-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