[gnome-boxes/gnome-3-14] libvirt-system-vm-importer: Update domain config on import
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes/gnome-3-14] libvirt-system-vm-importer: Update domain config on import
- Date: Tue, 10 Feb 2015 19:52:31 +0000 (UTC)
commit 56e0447c1c931bd1c4cd9faf47698fba17cefe5d
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]