diff options
author | Cole Robinson <crobinso@redhat.com> | 2018-09-03 10:58:25 -0400 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2018-09-04 14:55:04 -0400 |
commit | 068c8aedd2d136d3c161616bc775a4157e587d01 (patch) | |
tree | 4ee28b1e114fc9f2d50e59ebef81dc4112d67238 /virtconv | |
parent | 0293fa492c1916534a5a9d581fb2d5675436e632 (diff) | |
download | virt-manager-068c8aedd2d136d3c161616bc775a4157e587d01.tar.gz |
installer: Remove ContainerInstaller and ImportInstaller
Fold their non-logic into the base Installer class
Diffstat (limited to 'virtconv')
-rw-r--r-- | virtconv/ovf.py | 2 | ||||
-rw-r--r-- | virtconv/vmx.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/virtconv/ovf.py b/virtconv/ovf.py index aec0c288..b80a2a76 100644 --- a/virtconv/ovf.py +++ b/virtconv/ovf.py @@ -234,7 +234,7 @@ def _import_file(conn, input_file): # Generate the Guest guest = conn.caps.lookup_virtinst_guest() - guest.installer = virtinst.ImportInstaller(conn) + guest.installer = virtinst.Installer(conn) if not name: name = os.path.basename(input_file) diff --git a/virtconv/vmx.py b/virtconv/vmx.py index 97e06795..7920478e 100644 --- a/virtconv/vmx.py +++ b/virtconv/vmx.py @@ -285,7 +285,7 @@ class vmx_parser(parser_class): disk.path = None guest = conn.caps.lookup_virtinst_guest() - guest.installer = virtinst.ImportInstaller(conn) + guest.installer = virtinst.Installer(conn) guest.name = name.replace(" ", "_") guest.description = desc or None |