summaryrefslogtreecommitdiffstats
path: root/mcp
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-08-31 02:14:38 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-08-31 02:22:38 +0200
commit0d2b3baea025895737f970f37c3f5d723d201f8e (patch)
tree8998001ccac6cdbe5709e699652198222c34157e /mcp
parent98f171c82636c29a9cfd5c94c8e7aac7ca7af41b (diff)
mcp/deploy/scripts: Move to git submodule
Change-Id: I65d1f5680000011493bde17a249a87738ebfdd96 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'mcp')
m---------mcp/deploy/scripts0
-rwxr-xr-xmcp/scripts/salt.sh6
2 files changed, 2 insertions, 4 deletions
diff --git a/mcp/deploy/scripts b/mcp/deploy/scripts
new file mode 160000
+Subproject 4c9818260372459977be1cc4a3869b871ddba0a
diff --git a/mcp/scripts/salt.sh b/mcp/scripts/salt.sh
index 9f88f1c77..b291b0f7c 100755
--- a/mcp/scripts/salt.sh
+++ b/mcp/scripts/salt.sh
@@ -34,13 +34,11 @@ ssh ${SSH_OPTS} "${SSH_SALT}" bash -s << SALT_INSTALL_END
while [ ! -f /var/lib/cloud/instance/boot-finished ]; do echo -n '.'; sleep 1; done
echo ' done'
- DEBIAN_FRONTEND=noninteractive apt-get install -y git curl
-
- git clone --depth=1 https://github.com/salt-formulas/salt-formulas-scripts /srv/salt/scripts
+ mkdir -p /srv/salt /usr/share/salt-formulas/reclass
mv ${OPNFV_TMP_DIR} ${OPNFV_FUEL_DIR} && chown -R root.root ${OPNFV_FUEL_DIR}
ln -s ${OPNFV_FUEL_DIR}/mcp/reclass /srv/salt/reclass
+ ln -s ${OPNFV_FUEL_DIR}/mcp/deploy/scripts /srv/salt/scripts
- mkdir -p /usr/share/salt-formulas/reclass
cp -r ${OPNFV_FUEL_DIR}/mcp/metadata/service /usr/share/salt-formulas/reclass
cd /srv/salt/reclass/classes/service && \
ln -s /usr/share/salt-formulas/reclass/service/opendaylight