aboutsummaryrefslogtreecommitdiffstats
path: root/boot
diff options
context:
space:
mode:
authorMichael Lando <ml636r@att.com>2017-08-30 20:46:11 +0300
committerVictor Morales <victor.morales@intel.com>2017-08-30 14:06:54 -0500
commit4b53b580898219dba28723ffb6e5edcb0abcad7f (patch)
tree8b4b5c791f6a22c92e1e16c74f48d9c9c2257e07 /boot
parent81b37e52f64b4884c6b04d767aeda987cec44039 (diff)
name alignment
as part of the name alignment i want to change all occurrences of asdc to sdc. Change-Id: I2eb9ff087d3cfd61c0c1347d085dd02da64c2d89 Issue-Id: INT-100 Signed-off-by: Michael Lando <ml636r@att.com> Signed-off-by: Victor Morales <victor.morales@intel.com>
Diffstat (limited to 'boot')
-rw-r--r--boot/sdc_ext_volume_partitions.txt (renamed from boot/asdc_ext_volume_partitions.txt)0
-rw-r--r--boot/sdc_install.sh (renamed from boot/asdc_install.sh)20
-rw-r--r--boot/sdc_serv.sh (renamed from boot/asdc_serv.sh)2
-rw-r--r--boot/sdc_vm_init.sh (renamed from boot/asdc_vm_init.sh)0
4 files changed, 11 insertions, 11 deletions
diff --git a/boot/asdc_ext_volume_partitions.txt b/boot/sdc_ext_volume_partitions.txt
index b00c6ae2..b00c6ae2 100644
--- a/boot/asdc_ext_volume_partitions.txt
+++ b/boot/sdc_ext_volume_partitions.txt
diff --git a/boot/asdc_install.sh b/boot/sdc_install.sh
index 0400194c..b0b6bf15 100644
--- a/boot/asdc_install.sh
+++ b/boot/sdc_install.sh
@@ -53,12 +53,12 @@ apt-get update
apt-get install -y apt-transport-https ca-certificates wget openjdk-8-jdk git ntp ntpdate make
# Download scripts from Nexus
-curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/asdc_vm_init.sh -o /opt/asdc_vm_init.sh
-curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/asdc_serv.sh -o /opt/asdc_serv.sh
-chmod +x /opt/asdc_vm_init.sh
-chmod +x /opt/asdc_serv.sh
-mv /opt/asdc_serv.sh /etc/init.d
-update-rc.d asdc_serv.sh defaults
+curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/sdc_vm_init.sh -o /opt/sdc_vm_init.sh
+curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/sdc_serv.sh -o /opt/sdc_serv.sh
+chmod +x /opt/sdc_vm_init.sh
+chmod +x /opt/sdc_serv.sh
+mv /opt/sdc_serv.sh /etc/init.d
+update-rc.d sdc_serv.sh defaults
# Download and install docker-engine and docker-compose
echo "deb https://apt.dockerproject.org/repo ubuntu-xenial main" | sudo tee /etc/apt/sources.list.d/docker.list
@@ -71,17 +71,17 @@ curl -L https://github.com/docker/compose/releases/download/1.9.0/docker-compose
chmod +x /opt/docker/docker-compose
# Create partition and mount the external volume
-curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/asdc_ext_volume_partitions.txt -o /opt/asdc_ext_volume_partitions.txt
+curl -k $NEXUS_REPO/org.onap.demo/boot/$ARTIFACTS_VERSION/sdc_ext_volume_partitions.txt -o /opt/sdc_ext_volume_partitions.txt
if [[ $CLOUD_ENV == "rackspace" ]]
then
DISK="xvdb"
else
DISK=$(ls /dev |grep -e '^.*db$')
- sed -i "s/xvdb/$DISK/g" /opt/asdc_ext_volume_partitions.txt
+ sed -i "s/xvdb/$DISK/g" /opt/sdc_ext_volume_partitions.txt
fi
-sfdisk /dev/$DISK < /opt/asdc_ext_volume_partitions.txt
+sfdisk /dev/$DISK < /opt/sdc_ext_volume_partitions.txt
mkfs -t ext4 /dev/$DISK"1"
mkdir -p /data
mount /dev/$DISK"1" /data
@@ -139,4 +139,4 @@ then
fi
# Run docker containers. For openstack Ubuntu 16.04 images this will run as a service after the VM has restarted
-./asdc_vm_init.sh
+./sdc_vm_init.sh
diff --git a/boot/asdc_serv.sh b/boot/sdc_serv.sh
index 7d2539eb..b48c8484 100644
--- a/boot/asdc_serv.sh
+++ b/boot/sdc_serv.sh
@@ -10,7 +10,7 @@
### END INIT INFO
dir="/opt"
-cmd="./asdc_vm_init.sh"
+cmd="./sdc_vm_init.sh"
user="root"
name=`basename $0`
diff --git a/boot/asdc_vm_init.sh b/boot/sdc_vm_init.sh
index dd15c0a1..dd15c0a1 100644
--- a/boot/asdc_vm_init.sh
+++ b/boot/sdc_vm_init.sh