virt-install: Remove remote URL error

This is for very old libvirt versions. Just let it fail later on
This commit is contained in:
Cole Robinson 2019-02-07 15:18:09 -05:00
parent 91cdb485cb
commit ada5b49d3b
2 changed files with 0 additions and 9 deletions

View File

@ -354,11 +354,6 @@ def check_option_collisions(options, guest, installer):
fail(_("Install methods (%s) cannot be specified for "
"container guests") % install_methods)
if (options.location and
guest.conn.is_remote() and not
guest.conn.support_remote_url_install()):
fail(_("Libvirt version does not support remote --location installs"))
cdrom_err = ""
if installer.cdrom:
cdrom_err = " " + _cdrom_location_man_page

View File

@ -121,10 +121,6 @@ def upload_kernel_initrd(conn, scratchdir, system_scratchdir,
" nothing to upload")
return kernel, initrd, tmpvols
if not conn.support_remote_url_install():
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)