Code Review
/
demo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix spacing issues in YAML files in vnfs
[demo.git]
/
vnfs
/
DAaaS
/
sample-apps
/
training
/
sample-horovod-app
/
templates
/
config.yaml
diff --git
a/vnfs/DAaaS/sample-apps/training/sample-horovod-app/templates/config.yaml
b/vnfs/DAaaS/sample-apps/training/sample-horovod-app/templates/config.yaml
index
ae93c44
..
70d18ea
100644
(file)
--- a/
vnfs/DAaaS/sample-apps/training/sample-horovod-app/templates/config.yaml
+++ b/
vnfs/DAaaS/sample-apps/training/sample-horovod-app/templates/config.yaml
@@
-73,7
+73,7
@@
data:
yes | cp /etc/secret-volume/authorized_keys /root/.ssh/authorized_keys
set -e
fi
yes | cp /etc/secret-volume/authorized_keys /root/.ssh/authorized_keys
set -e
fi
-
+
for i in `cat $1 | awk '{print $(1)}'`;do
if [[ "$i" != *"master" ]];then
retry 30 ssh -o ConnectTimeout=2 -q $i exit
for i in `cat $1 | awk '{print $(1)}'`;do
if [[ "$i" != *"master" ]];then
retry 30 ssh -o ConnectTimeout=2 -q $i exit
@@
-102,14
+102,14
@@
data:
if [ $? -ne 0 ]; then
exit 1
fi
if [ $? -ne 0 ]; then
exit 1
fi
- set -e
+ set -e
}
updateSSHPort
runCheckSSH $1
worker.run: |
#!/bin/bash
set -x
}
updateSSHPort
runCheckSSH $1
worker.run: |
#!/bin/bash
set -x
-
+
mkdir -p /root/.ssh
rm -f /root/.ssh/config
touch /root/.ssh/config
mkdir -p /root/.ssh
rm -f /root/.ssh/config
touch /root/.ssh/config