Skip to content
Snippets Groups Projects
Commit 3ef4bcb7 authored by Florent Thiery's avatar Florent Thiery
Browse files

fix skipping adding netcapture instance every time, refs #26945

parent f3eda4a9
No related branches found
No related tags found
No related merge requests found
...@@ -30,7 +30,7 @@ def setup(interactive=True): ...@@ -30,7 +30,7 @@ def setup(interactive=True):
cmds.append('rsync -r mirisconf/ /etc/miris/conf') cmds.append('rsync -r mirisconf/ /etc/miris/conf')
# start netcapture without hw accel # start netcapture without hw accel
if subprocess.getstatusoutput("netcapturectl ls") != 0: if subprocess.getstatusoutput("netcapturectl ls")[0] != 0:
print('Pulling netcapture image, please wait') print('Pulling netcapture image, please wait')
cmds.append('netcapturectl add') cmds.append('netcapturectl add')
utils.run_commands(cmds) utils.run_commands(cmds)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment