Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Anders Blomdell
hostinfo
Commits
0325467f
Commit
0325467f
authored
Oct 03, 2021
by
Anders Blomdell
Browse files
Make it possible to exclude interfaces from configuration
parent
4f61c8a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/hostinfo/networkmanager.py
View file @
0325467f
...
...
@@ -544,6 +544,8 @@ def execute(tree, host):
if
h
.
name
[
0
]
!=
host
:
continue
for
i
in
h
.
_interface_
:
if
i
.
configure
[
0
]
==
'no'
:
continue
changed
=
False
if
i
.
bridge
[
0
]:
changed
|=
configure_bridge_interface
(
tree
,
i
)
...
...
Write
Preview
Supports
Markdown
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