Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
tingweiwang
/
k8s
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 2943e11f
authored
Apr 03, 2020
by
tingweiwang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update 2-replace-file.sh
1 parent
5b35fb11
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
script/autodl/2-replace-file.sh
script/autodl/2-replace-file.sh
View file @
2943e11
...
@@ -29,7 +29,7 @@ redis_host=INTRANET_IP:6379
...
@@ -29,7 +29,7 @@ redis_host=INTRANET_IP:6379
redis_password
=
seetatech
redis_password
=
seetatech
mongo_host
=
'mongodb://admin:admin@INTRANET_IP:27017/seetaas?authSource=admin'
#&号前记得加转义
mongo_host
=
'mongodb://admin:admin@INTRANET_IP:27017/seetaas?authSource=admin'
#&号前记得加转义
harbor_host
=
INTRANET_IP:5000
harbor_host
=
INTRANET_IP:5000
hb_host
=
INTRANET_IP:5000
#如果是私有部署则共用一个私有harbor,如果是 公用部署则改成h
b.seetatech.com
hb_host
=
INTRANET_IP:5000
#如果是私有部署则共用一个私有harbor,如果是 公用部署则改成h
ub.kce.ksyun.com
####################################公共##################################################
####################################公共##################################################
sudo sed -i s/redis_host/
$redis_host
/g
`
find
$config_workspace
-type f -name
"*.yaml"
`
sudo sed -i s/redis_host/
$redis_host
/g
`
find
$config_workspace
-type f -name
"*.yaml"
`
sudo sed -i s/mysql_host/
$mysql_host
/g
`
find
$config_workspace
-type f -name
"*.yaml"
`
sudo sed -i s/mysql_host/
$mysql_host
/g
`
find
$config_workspace
-type f -name
"*.yaml"
`
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment