Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
f8a439be
Commit
f8a439be
authored
Sep 22, 2024
by
Hejing Li
Browse files
app.py: remove pre_cp
parent
aa402425
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
experiments/simbricks/orchestration/system/host/app.py
experiments/simbricks/orchestration/system/host/app.py
+1
-7
No files found.
experiments/simbricks/orchestration/system/host/app.py
View file @
f8a439be
...
...
@@ -66,13 +66,7 @@ class BaseLinuxApplication(abc.ABC):
def
prepare_pre_cp
(
self
,
env
:
expenv
.
ExpEnv
)
->
list
[
str
]:
"""Commands to run to prepare node before checkpointing."""
return
[
"set -x"
,
"export HOME=/root"
,
"export LANG=en_US"
,
'export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:'
+
'/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"'
,
]
return
[]
def
prepare_post_cp
(
self
,
env
:
expenv
.
ExpEnv
)
->
list
[
str
]:
"""Commands to run to prepare node after checkpoint restore."""
...
...
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