Skip to content

Commit

Permalink
fix #12
Browse files Browse the repository at this point in the history
  • Loading branch information
muicoder committed Apr 22, 2024
1 parent 0375262 commit 3590958
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion k3s/scripts/init-k3s.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ source common.sh
disable_firewalld

# Annotate system configuration
cat ../etc/sysctl.d/*.conf | sort | uniq | while read -r str; do
cat ../etc/sysctl.d/*.conf | sort | uniq | grep -v ^$ | while read -r str; do
k=${str%=*}
v=${str#*=}
echo "$k=$v # sealos"
Expand Down
2 changes: 1 addition & 1 deletion k8s/scripts/init-kube.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ source common.sh
disable_firewalld

# Annotate system configuration
cat ../etc/sysctl.d/*.conf | sort | uniq | while read -r str; do
cat ../etc/sysctl.d/*.conf | sort | uniq | grep -v ^$ | while read -r str; do
k=${str%=*}
v=${str#*=}
echo "$k=$v # sealos"
Expand Down

0 comments on commit 3590958

Please sign in to comment.