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
3e359491
Commit
3e359491
authored
Jul 26, 2016
by
Ivan Shvedunov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix error reporting during vagrant provisioning
parent
ed3a29bd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
provision-master.sh
cluster/vagrant/provision-master.sh
+0
-9
provision-utils.sh
cluster/vagrant/provision-utils.sh
+9
-0
No files found.
cluster/vagrant/provision-master.sh
View file @
3e359491
...
...
@@ -43,15 +43,6 @@ if [[ -z "$NETWORK_IF_NAME" ]]; then
NETWORK_IF_NAME
=
${
DEFAULT_NETWORK_IF_NAME
}
fi
function
release_not_found
()
{
echo
"It looks as if you don't have a compiled version of Kubernetes. If you"
>
&2
echo
"are running from a clone of the git repo, please run 'make quick-release'."
>
&2
echo
"Note that this requires having Docker installed. If you are running "
>
&2
echo
"from a release tarball, something is wrong. Look at "
>
&2
echo
"http://kubernetes.io/ for information on how to contact the development team for help."
>
&2
exit
1
}
# Setup hosts file to support ping by hostname to each node in the cluster from apiserver
for
((
i
=
0
;
i<
${#
NODE_NAMES
[@]
}
;
i++
))
;
do
node
=
${
NODE_NAMES
[
$i
]
}
...
...
cluster/vagrant/provision-utils.sh
View file @
3e359491
...
...
@@ -94,6 +94,15 @@ grains:
EOF
}
function
release_not_found
()
{
echo
"It looks as if you don't have a compiled version of Kubernetes. If you"
>
&2
echo
"are running from a clone of the git repo, please run 'make quick-release'."
>
&2
echo
"Note that this requires having Docker installed. If you are running "
>
&2
echo
"from a release tarball, something is wrong. Look at "
>
&2
echo
"http://kubernetes.io/ for information on how to contact the development team for help."
>
&2
exit
1
}
function
install-salt
()
{
server_binary_tar
=
"/vagrant/server/kubernetes-server-linux-amd64.tar.gz"
if
[[
!
-f
"
$server_binary_tar
"
]]
;
then
...
...
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