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

always disable ssl check, not only on real hardware, refs #26945

parent ae6704d7
No related branches found
No related tags found
No related merge requests found
...@@ -22,6 +22,11 @@ def setup(interactive=True): ...@@ -22,6 +22,11 @@ def setup(interactive=True):
cmd = cmd_template % c cmd = cmd_template % c
cmds.append(cmd) cmds.append(cmd)
with open('/etc/miris/netcapture.json', 'r+') as f:
c = json.load(f)
c['campusmanager_check_ssl'] = False
json.dump(c, f)
cmds.append('rsync -r mirisconf/ /etc/miris/conf') cmds.append('rsync -r mirisconf/ /etc/miris/conf')
cmds.append('netcapturectl add') cmds.append('netcapturectl add')
...@@ -32,7 +37,6 @@ def setup(interactive=True): ...@@ -32,7 +37,6 @@ def setup(interactive=True):
with open('/etc/miris/netcapture.json', 'r+') as f: with open('/etc/miris/netcapture.json', 'r+') as f:
c = json.load(f) c = json.load(f)
c['enable_hw_acceleration'] = True c['enable_hw_acceleration'] = True
c['campusmanager_check_ssl'] = False
json.dump(c, f) json.dump(c, f)
cmds.append('echo "options i915 enable_guc_loading=1 enable_guc_submission=1" > /etc/modprobe.d/netcapture.conf') cmds.append('echo "options i915 enable_guc_loading=1 enable_guc_submission=1" > /etc/modprobe.d/netcapture.conf')
cmds.append('update-initramfs -u') cmds.append('update-initramfs -u')
......
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