Skip to content
Snippets Groups Projects
Commit 0f50be07 authored by Stéphane Diemer's avatar Stéphane Diemer
Browse files

Do not setup cockpit on Ubuntu 16.04.

parent caf846c1
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,12 @@ import os
def setup(interactive=False):
if os.path.exists('/etc/lsb-release'):
with open('/etc/lsb-release', 'r') as fo:
content = fo.read()
if '16.04' in content:
utils.log('Skipping cockpit setup because OS is Ubuntu 16.04.')
return
cmds = [
'apt install -y software-properties-common',
'add-apt-repository universe',
......
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