kernelupload: Revive upload support check
Needed so that test_urls doesn't fail attempting to upload
This commit is contained in:
parent
7672b1b010
commit
ad53d59038
|
@ -121,6 +121,11 @@ def upload_kernel_initrd(conn, scratchdir, system_scratchdir,
|
|||
" nothing to upload")
|
||||
return kernel, initrd, tmpvols
|
||||
|
||||
if not conn.support_remote_url_install():
|
||||
# Needed for the test_urls suite
|
||||
logging.debug("Media upload not supported")
|
||||
return kernel, initrd, tmpvols
|
||||
|
||||
# Build pool
|
||||
logging.debug("Uploading kernel/initrd media")
|
||||
pool = _build_pool(conn, meter, system_scratchdir)
|
||||
|
|
Loading…
Reference in New Issue