Commit b2b57e1c authored by Marco Mariani's avatar Marco Mariani

correctly identify Ubuntu

parent 2a081f07
...@@ -5,12 +5,12 @@ import argparse ...@@ -5,12 +5,12 @@ import argparse
import ConfigParser import ConfigParser
import hashlib import hashlib
import json import json
import platform
import re import re
import sys import sys
import urllib2 import urllib2
from slapos.grid import networkcache from slapos.grid import networkcache
from slapos.grid.distribution import patched_linux_distribution
def maybe_md5(s): def maybe_md5(s):
...@@ -45,7 +45,7 @@ def cache(): ...@@ -45,7 +45,7 @@ def cache():
entries = json.loads(response.read()) entries = json.loads(response.read())
linux_distribution = platform.linux_distribution() linux_distribution = patched_linux_distribution()
header_printed = False header_printed = False
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment