Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
65dca78e
Commit
65dca78e
authored
Jun 12, 2015
by
Abhi Shah
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #9735 from iterion/correct-ssh-user
Update SSH User for AWS Utils
parents
283fc8e8
7760d079
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
util.sh
cluster/aws/util.sh
+2
-2
No files found.
cluster/aws/util.sh
View file @
65dca78e
...
...
@@ -768,7 +768,7 @@ function kube-up {
echo
-n
Attempt
"
$((
$attempt
+
1
))
"
to check
for
SSH to master
local
output
local
ok
=
1
output
=
$(
ssh
-oStrictHostKeyChecking
=
no
-i
"
${
AWS_SSH_KEY
}
"
ubuntu
@
${
KUBE_MASTER_IP
}
uptime
2>
$LOG
)
||
ok
=
0
output
=
$(
ssh
-oStrictHostKeyChecking
=
no
-i
"
${
AWS_SSH_KEY
}
"
${
SSH_USER
}
@
${
KUBE_MASTER_IP
}
uptime
2>
$LOG
)
||
ok
=
0
if
[[
${
ok
}
==
0
]]
;
then
if
((
attempt
>
30
))
;
then
echo
...
...
@@ -794,7 +794,7 @@ function kube-up {
echo
-n
Attempt
"
$((
$attempt
+
1
))
"
to check
for
salt-master
local
output
local
ok
=
1
output
=
$(
ssh
-oStrictHostKeyChecking
=
no
-i
"
${
AWS_SSH_KEY
}
"
ubuntu
@
${
KUBE_MASTER_IP
}
pgrep salt-master 2>
$LOG
)
||
ok
=
0
output
=
$(
ssh
-oStrictHostKeyChecking
=
no
-i
"
${
AWS_SSH_KEY
}
"
${
SSH_USER
}
@
${
KUBE_MASTER_IP
}
pgrep salt-master 2>
$LOG
)
||
ok
=
0
if
[[
${
ok
}
==
0
]]
;
then
if
((
attempt
>
30
))
;
then
echo
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment