This commit is contained in:
brent s. 2021-01-20 04:56:04 -05:00
parent 39c1ba272c
commit efc02fa4d9
Signed by: bts
GPG Key ID: 8C004C2F93481F6B

View File

@ -119,7 +119,7 @@ class BaseUpdater(object):
if (disk_cmd.returncode != 0) or disk_cmd.stderr.decode('utf-8').strip() != '':
raise RuntimeError('Could not get disk UUID: {0}'.format(disk_cmd.stderr.decode('utf-8')))
disk_dict = json.loads(disk_cmd.stdout.decode('utf-8'))
disk_dev = disk_dict['filesystems']['source']
disk_dev = disk_dict['filesystems'][0]['source']
info_cmd = subprocess.run(['blkid',
'-o', 'export',
disk_dev],