update-linux 3.2.0__tar.gz → 3.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {update_linux-3.2.0 → update_linux-3.2.1}/PKG-INFO +1 -1
- {update_linux-3.2.0 → update_linux-3.2.1}/src/update_linux/__init__.py +9 -2
- {update_linux-3.2.0 → update_linux-3.2.1}/src/update_linux.egg-info/PKG-INFO +1 -1
- {update_linux-3.2.0 → update_linux-3.2.1}/LICENSE +0 -0
- {update_linux-3.2.0 → update_linux-3.2.1}/README.md +0 -0
- {update_linux-3.2.0 → update_linux-3.2.1}/pyproject.toml +0 -0
- {update_linux-3.2.0 → update_linux-3.2.1}/requirements.txt +0 -0
- {update_linux-3.2.0 → update_linux-3.2.1}/setup.cfg +0 -0
- {update_linux-3.2.0 → update_linux-3.2.1}/src/update_linux/__main__.py +0 -0
- {update_linux-3.2.0 → update_linux-3.2.1}/src/update_linux.egg-info/SOURCES.txt +0 -0
- {update_linux-3.2.0 → update_linux-3.2.1}/src/update_linux.egg-info/dependency_links.txt +0 -0
- {update_linux-3.2.0 → update_linux-3.2.1}/src/update_linux.egg-info/entry_points.txt +0 -0
- {update_linux-3.2.0 → update_linux-3.2.1}/src/update_linux.egg-info/requires.txt +0 -0
- {update_linux-3.2.0 → update_linux-3.2.1}/src/update_linux.egg-info/top_level.txt +0 -0
|
@@ -9,7 +9,7 @@ import tempfile
|
|
|
9
9
|
import json
|
|
10
10
|
from config_path import ConfigPath # type: ignore
|
|
11
11
|
|
|
12
|
-
VERSION = '3.2.
|
|
12
|
+
VERSION = '3.2.1'
|
|
13
13
|
|
|
14
14
|
default_json_config_template = u'''{
|
|
15
15
|
"group":
|
|
@@ -369,6 +369,7 @@ For help:
|
|
|
369
369
|
cmd = ['killall', '-HUP', 'mDNSResponder']
|
|
370
370
|
self.runAndLog( None, cmd, log=False )
|
|
371
371
|
|
|
372
|
+
|
|
372
373
|
def detectOperatingSystem( self, host ):
|
|
373
374
|
if host is not None:
|
|
374
375
|
rc = ssh_wait( host, wait=False, log_fn=None )
|
|
@@ -393,6 +394,13 @@ For help:
|
|
|
393
394
|
|
|
394
395
|
for line in stdout:
|
|
395
396
|
line = line.strip()
|
|
397
|
+
if line.startswith('@@@'):
|
|
398
|
+
self.warn( host, 'ssh warning detected - please fix' )
|
|
399
|
+
for line in stdout:
|
|
400
|
+
print( self.ct( '<>proc %s<>: %s' % (host or 'localhost', line.rstrip()) ) )
|
|
401
|
+
|
|
402
|
+
return None, None, None
|
|
403
|
+
|
|
396
404
|
if line == '' or '=' not in line:
|
|
397
405
|
continue
|
|
398
406
|
|
|
@@ -401,7 +409,6 @@ For help:
|
|
|
401
409
|
value = value[1:-1]
|
|
402
410
|
os_release[key] = value
|
|
403
411
|
|
|
404
|
-
|
|
405
412
|
os_main_id = os_release.get('ID', None)
|
|
406
413
|
os_id_set = set([os_main_id])
|
|
407
414
|
os_version_id = os_release.get('VERSION_ID', 'Unknown')
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|