diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2018-03-13 21:31:53 +0100 |
---|---|---|
committer | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2018-03-13 21:35:55 +0100 |
commit | 7b4dc44ba29c1a09073e6494559254c5069c0e42 (patch) | |
tree | 26920db15f9a6911587a50b5f5445e272205d55a | |
parent | f288af04f48a2f8634ea4aefe7626774fde24058 (diff) |
salt.sh: Copy mcp.rsa to cfg01
- let rsync transfer mcp.rsa* to cfg01;
- symlink mcp.rsa in /root;
Change-Id: I18cb70306faf9d166e1110e374a9fe16ac4449de
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | mcp/scripts/.gitignore | 1 | ||||
-rwxr-xr-x | mcp/scripts/salt.sh | 1 |
3 files changed, 2 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore index 49939c146..fe7a86422 100644 --- a/.gitignore +++ b/.gitignore @@ -10,7 +10,6 @@ **/docs_output/ **/releng/ **/mcp/deploy/images/ -**/mcp/scripts/mcp.rsa* **/mcp/scripts/user-data.sh **/mcp/scripts/virsh_net/*.xml **/mcp/scripts/*.img diff --git a/mcp/scripts/.gitignore b/mcp/scripts/.gitignore index 89af7c473..a7f658e4e 100644 --- a/mcp/scripts/.gitignore +++ b/mcp/scripts/.gitignore @@ -1,2 +1,3 @@ +mcp.rsa* user-data.*.sh xdf_data.sh diff --git a/mcp/scripts/salt.sh b/mcp/scripts/salt.sh index ad4707369..c5582f16d 100755 --- a/mcp/scripts/salt.sh +++ b/mcp/scripts/salt.sh @@ -63,6 +63,7 @@ ssh ${SSH_OPTS} "${SSH_SALT}" bash -s -e << SALT_INSTALL_END ln -sf ${OPNFV_GIT_DIR}${F_GIT_SUBD} ${OPNFV_FUEL_DIR} ln -sf ${OPNFV_FUEL_DIR}/mcp/reclass /srv/salt ln -sf ${OPNFV_FUEL_DIR}/mcp/deploy/scripts /srv/salt + ln -sf ${OPNFV_FUEL_DIR}/mcp/scripts/mcp.rsa $(dirname "${OPNFV_FUEL_DIR}") cd /srv/salt/${OPNFV_RDIR} && rm -f arch && ln -sf "\$(uname -i)" arch cp -r ${OPNFV_FUEL_DIR}/mcp/metadata/service /usr/share/salt-formulas/reclass |