diff --git a/1.Base/4.cockpit/0_setup.py b/1.Base/4.cockpit/0_setup.py
index 2aac7dfdc75ceed11e4172a6bae764959c9cdce2..f8a239210c3f02f7240de3c5de81ff3d2183f01e 100644
--- a/1.Base/4.cockpit/0_setup.py
+++ b/1.Base/4.cockpit/0_setup.py
@@ -4,12 +4,9 @@ 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
+    if os.system('lsb_release -a | grep "18.04"') != 0:
+        utils.log('Skipping cockpit setup because OS is not Ubuntu 18.04.')
+        return
     cmds = [
         'apt install -y software-properties-common',
         'add-apt-repository universe',