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
4141679c
Commit
4141679c
authored
Dec 21, 2015
by
k8s-merge-robot
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #18748 from miry/compact-cloud-init-script-bug
Auto commit by PR queue bot
parents
c59fad14
2272de1f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
util.sh
cluster/aws/util.sh
+3
-2
No files found.
cluster/aws/util.sh
View file @
4141679c
...
@@ -895,8 +895,9 @@ function start-master() {
...
@@ -895,8 +895,9 @@ function start-master() {
# We're running right up against the 16KB limit
# We're running right up against the 16KB limit
# Remove all comment lines and then put back the bin/bash shebang
# Remove all comment lines and then put back the bin/bash shebang
sed
-i
-e
's/^[[:blank:]]*#.*$//'
-e
'/^[[:blank:]]*$/d'
"
${
KUBE_TEMP
}
/master-user-data"
cat
"
${
KUBE_TEMP
}
/master-user-data"
|
sed
-e
's/^[[:blank:]]*#.*$//'
|
sed
-e
'/^[[:blank:]]*$/d'
>
"
${
KUBE_TEMP
}
/master-user-data.tmp"
sed
-i
'1i #! /bin/bash'
"
${
KUBE_TEMP
}
/master-user-data"
echo
'#! /bin/bash'
|
cat
-
"
${
KUBE_TEMP
}
/master-user-data.tmp"
>
"
${
KUBE_TEMP
}
/master-user-data"
rm
"
${
KUBE_TEMP
}
/master-user-data.tmp"
echo
"Starting Master"
echo
"Starting Master"
master_id
=
$(
$AWS_CMD
run-instances
\
master_id
=
$(
$AWS_CMD
run-instances
\
...
...
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