fedimg: Add the patch for the PR#99
Signed-off-by: Sayan Chowdhury <sayan.chowdhury2012@gmail.com>
This commit is contained in:
parent
ff88d963b5
commit
375f565fcc
1 changed files with 11 additions and 1 deletions
|
@ -137,7 +137,17 @@ def get_source_from_image(image_url):
|
|||
if retcode != 0:
|
||||
return ''
|
||||
|
||||
return file_path
|
||||
output, error, retcode = external_run_command([
|
||||
'xzcat',
|
||||
file_path,
|
||||
'>',
|
||||
file_path.rstrip('.xz')
|
||||
])
|
||||
|
||||
if retcode != 0:
|
||||
return ''
|
||||
|
||||
return file_path.rstrip('.xz')
|
||||
|
||||
|
||||
def get_volume_type_from_image(image, region):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue