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
5660a6ba
Commit
5660a6ba
authored
8 years ago
by
Stéphane Diemer
Browse files
Options
Downloads
Patches
Plain Diff
Added apt-get clean in step 1.
parent
22b31b5f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
1.Utilities/0_setup.py
+1
-0
1 addition, 0 deletions
1.Utilities/0_setup.py
envsetup.py
+2
-2
2 additions, 2 deletions
envsetup.py
with
3 additions
and
2 deletions
1.Utilities/0_setup.py
+
1
−
0
View file @
5660a6ba
...
...
@@ -7,6 +7,7 @@ import utils
def
setup
(
interactive
=
True
):
cmds
=
[
'
apt-get clean
'
,
'
apt-get update
'
,
'
apt-get install --yes make ipython ipython3 vim netcat git htop iotop bmon host lm-sensors munin munin-node pciutils ntp nfs-client smartmontools pwgen ntpdate dialog
'
,
'
[ -f ~/.vimrc ] || echo
"
color ron
"
> ~/.vimrc
'
,
...
...
This diff is collapsed.
Click to expand it.
envsetup.py
+
2
−
2
View file @
5660a6ba
...
...
@@ -91,8 +91,8 @@ class EnvSetup():
log
(
'
c: Configuration status
'
)
log
(
'
e: Exit
\n
'
)
log
(
'
Info:
'
)
log
(
'
\033
[0;36m To setup a system entirely for a determined purpose (Worker, MS, CM, ...), you can use
envsetup-
launcher:
\033
[0m
'
)
log
(
'
\033
[0;36m bash /root/envsetup/
envsetup-
launcher.sh
\033
[0m
'
)
log
(
'
\033
[0;36m To setup a system entirely for a determined purpose (Worker, MS, CM, ...), you can use
the
launcher:
\033
[0m
'
)
log
(
'
\033
[0;36m bash /root/envsetup/launcher.sh
\033
[0m
'
)
log
(
'
\n
What action do you want to start ?
'
)
try
:
target
=
input
(
'
--->
'
).
strip
()
...
...
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