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
399f7dee
Commit
399f7dee
authored
May 05, 2015
by
Zach Loafman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up safe_format_and_mount spam in the startup logs
Totally minor cleanup, but I'm tired of seeing it's spam in the startup logs.
parent
db6586bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
configure-vm.sh
cluster/gce/configure-vm.sh
+3
-1
No files found.
cluster/gce/configure-vm.sh
View file @
399f7dee
...
@@ -199,8 +199,10 @@ mount-master-pd() {
...
@@ -199,8 +199,10 @@ mount-master-pd() {
# Format and mount the disk, create directories on it for all of the master's
# Format and mount the disk, create directories on it for all of the master's
# persistent data, and link them to where they're used.
# persistent data, and link them to where they're used.
echo
"Mounting master-pd"
mkdir
-p
/mnt/master-pd
mkdir
-p
/mnt/master-pd
/usr/share/google/safe_format_and_mount
-m
"mkfs.ext4 -F"
"
${
device_path
}
"
/mnt/master-pd
/usr/share/google/safe_format_and_mount
-m
"mkfs.ext4 -F"
"
${
device_path
}
"
/mnt/master-pd &>/var/log/master-pd-mount.log
||
\
{
echo
"!!! master-pd mount failed, review /var/log/master-pd-mount.log !!!"
;
return
1
;
}
# Contains all the data stored in etcd
# Contains all the data stored in etcd
mkdir
-m
700
-p
/mnt/master-pd/var/etcd
mkdir
-m
700
-p
/mnt/master-pd/var/etcd
# Contains the dynamically generated apiserver auth certs and keys
# Contains the dynamically generated apiserver auth certs and keys
...
...
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