[gnome-boxes] libvirt-system-vm-importer: Update domain config on import



commit 251e2094df15dd79a1b9f0e919ee1ea448e481d9
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Mon Feb 2 20:17:36 2015 +0000

    libvirt-system-vm-importer: Update domain config on import
    
    Lets ensure that box looks as much like other normal local boxes as
    possible after import from system broker.
    
    At least this fixes the issue of imported boxes not starting up due to
    domain using a network interface not available to session libvirt.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=732761

 src/libvirt-system-vm-importer.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/libvirt-system-vm-importer.vala b/src/libvirt-system-vm-importer.vala
index 6fe86f9..a1e2d0b 100644
--- a/src/libvirt-system-vm-importer.vala
+++ b/src/libvirt-system-vm-importer.vala
@@ -32,6 +32,7 @@ private class Boxes.LibvirtSystemVMImporter : Boxes.VMImporter {
         config.title = title;
 
         VMConfigurator.setup_custom_xml (config, install_media);
+        yield VMConfigurator.update_existing_domain (config, connection);
 
         var devices = config.get_devices ();
         foreach (var device in devices) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]