mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-03-10 12:58:27 +03:00
virt-install: Remove remote URL error
This is for very old libvirt versions. Just let it fail later on
This commit is contained in:
parent
91cdb485cb
commit
ada5b49d3b
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user