Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
envsetup
Manage
Activity
Members
Plan
Redmine
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mediaserver
envsetup
Commits
52dca8ee
Commit
52dca8ee
authored
6 years ago
by
Florent Thiery
Browse files
Options
Downloads
Patches
Plain Diff
fix conf.sh path so that deployment key gets removed
parent
6bf1ebd1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
3.New_server_deployment/1.Download_envsetup_config/0_setup.py
+2
-2
2 additions, 2 deletions
...w_server_deployment/1.Download_envsetup_config/0_setup.py
with
2 additions
and
2 deletions
3.New_server_deployment/1.Download_envsetup_config/0_setup.py
+
2
−
2
View file @
52dca8ee
...
@@ -50,9 +50,9 @@ def setup(interactive=True):
...
@@ -50,9 +50,9 @@ def setup(interactive=True):
utils
.
log
(
'
Configuration written.
'
)
utils
.
log
(
'
Configuration written.
'
)
utils
.
log
(
'
Removing activation key from conf.sh
'
)
utils
.
log
(
'
Removing activation key from conf.sh
'
)
with
open
(
'
conf.sh
'
,
'
r
'
)
as
f
:
with
open
(
'
../../
conf.sh
'
,
'
r
'
)
as
f
:
lines
=
f
.
readlines
()
lines
=
f
.
readlines
()
with
open
(
'
conf.sh
'
,
'
w
'
)
as
f
:
with
open
(
'
../../
conf.sh
'
,
'
w
'
)
as
f
:
for
l
in
lines
:
for
l
in
lines
:
if
not
l
.
startswith
(
'
SKYREACH_ACTIVATION_KEY
'
):
if
not
l
.
startswith
(
'
SKYREACH_ACTIVATION_KEY
'
):
f
.
write
(
l
)
f
.
write
(
l
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment