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
567b98ef
Commit
567b98ef
authored
Sep 03, 2024
by
Hejing Li
Browse files
host/base.py: remove double quotes
parent
38f4c92a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
experiments/simbricks/orchestration/system/host/base.py
experiments/simbricks/orchestration/system/host/base.py
+2
-1
No files found.
experiments/simbricks/orchestration/system/host/base.py
View file @
567b98ef
...
@@ -176,8 +176,9 @@ class LinuxHost(BaseLinuxHost):
...
@@ -176,8 +176,9 @@ class LinuxHost(BaseLinuxHost):
# Force MAC if requested
# Force MAC if requested
if
'force_mac_addr'
in
i
.
parameters
:
if
'force_mac_addr'
in
i
.
parameters
:
mac
=
i
.
parameters
[
'force_mac_addr'
]
l
.
append
(
f
'ip link set dev
{
ifn
}
address '
l
.
append
(
f
'ip link set dev
{
ifn
}
address '
f
'
{
i
.
parameters
[
'force_mac_addr'
]
}
'
)
f
'
{
mac
}
'
)
# Bring interface up
# Bring interface up
l
.
append
(
f
'ip link set dev
{
ifn
}
up'
)
l
.
append
(
f
'ip link set dev
{
ifn
}
up'
)
...
...
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