mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-06 11:28:32 +02:00
contrib/rh-bkr: default to RHEL 7 if distro unspecified
This commit is contained in:
parent
e804b0614a
commit
834c331f68
1 changed files with 3 additions and 3 deletions
|
|
@ -788,10 +788,10 @@ class CmdSubmit(CmdBase):
|
||||||
vt = None
|
vt = None
|
||||||
if vn is not None:
|
if vn is not None:
|
||||||
return '<distro_name op="=" value="%s"/>' % (vn)
|
return '<distro_name op="=" value="%s"/>' % (vn)
|
||||||
|
ret = '<distro_family op="=" value="%s"/>' % self._get_var('DISTRO_FAMILY')
|
||||||
if vt is not None:
|
if vt is not None:
|
||||||
vt = self._get_var('DISTRO_TAG', True)
|
ret = ret + '<distro_tag op="=" value="%s"/>' % self._get_var('DISTRO_TAG', True)
|
||||||
return '<distro_family op="=" value="%s"/><distro_tag op="=" value="%s"/>' % (self._get_var('DISTRO_FAMILY'), vt)
|
return ret
|
||||||
return None
|
|
||||||
|
|
||||||
def _get_var_for_RESERVESYS(self, key):
|
def _get_var_for_RESERVESYS(self, key):
|
||||||
v = self._get_var('RESERVESYS')
|
v = self._get_var('RESERVESYS')
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue