summaryrefslogtreecommitdiff
path: root/virtconv
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2018-09-03 10:58:25 -0400
committerCole Robinson <crobinso@redhat.com>2018-09-04 14:55:04 -0400
commit068c8aedd2d136d3c161616bc775a4157e587d01 (patch)
tree4ee28b1e114fc9f2d50e59ebef81dc4112d67238 /virtconv
parent0293fa492c1916534a5a9d581fb2d5675436e632 (diff)
downloadvirt-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.py2
-rw-r--r--virtconv/vmx.py2
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