Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
metadeploy
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nebula
metadeploy
Commits
57b299cd
Commit
57b299cd
authored
Dec 13, 2023
by
贾浩@五瓣科技
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
4392ba54
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
host.sh
host/host.sh
+3
-2
No files found.
host/host.sh
View file @
57b299cd
...
...
@@ -44,6 +44,7 @@ if [ $# -eq 3 ]; then
done
while
true
do
break
if
[
$(
echo
${
input_string_enr
}
|
wc
-L
)
-eq
200
]
;
then
break
fi
...
...
@@ -161,7 +162,7 @@ do
echo
"single-node: true"
>>
$configFile
echo
"log-level:
\"
debug
\"
"
>>
$configFile
echo
"enable-prom: true"
>>
$configFile
echo
"use-discovery:
tru
e"
>>
$configFile
echo
"use-discovery:
fals
e"
>>
$configFile
echo
"nebula-grpc-address:
\"
nebula:38004
\"
"
>>
$configFile
echo
"grpc-host:
\"
0.0.0.0
\"
"
>>
$configFile
echo
"grpc-port: 38010"
>>
$configFile
...
...
@@ -169,7 +170,7 @@ do
if
[
$i
-eq
1
]
;
then
echo
"p2p-priv-key:
\"
/etc/MetaNet/default-priv-key
\"
"
>>
$configFile
else
echo
"
bootstrap-node: [
${
seedEnr
}
]"
>>
$configFile
echo
"
peer: [
\"
${
seedEnr
}
\"
]"
>>
$configFile
#echo "bootstrap-node: [\"enr:-JG4QEOwrARSiElnvYO0oWjgOrt9-faERbU0O_pYM2Cuh_s9K__lZ2Lco569gWZFfOrqI7pEwKBxG3RYqZRvhJCHwMGGAYvHpaQegmlkgnY0gmlwhBJmI8iJc2VjcDI1NmsxoQJ81pyuyqa2QoPztOPsCqpkcW1gJwUxOcSJuWr9VUNavIN0Y3CCdn2DdWRwgnZ-\"]" >> $configFile
fi
done
...
...
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