Skip to content

Instantly share code, notes, and snippets.

@kghost
Created May 6, 2013 08:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kghost/5524026 to your computer and use it in GitHub Desktop.
Save kghost/5524026 to your computer and use it in GitHub Desktop.
nova console
diff --git a/nova/virt/libvirt/driver.py b/nova/virt/libvirt/driver.py
index c849460..891ffe1 100755
--- a/nova/virt/libvirt/driver.py
+++ b/nova/virt/libvirt/driver.py
@@ -2261,10 +2261,6 @@ class LibvirtDriver(driver.ComputeDriver):
# client app is connected. Thus we can't get away
# with a single type=pty console. Instead we have
# to configure two separate consoles.
- consolelog = vconfig.LibvirtConfigGuestSerial()
- consolelog.type = "file"
- consolelog.source_path = self._get_console_log_path(instance)
- guest.add_device(consolelog)
consolepty = vconfig.LibvirtConfigGuestSerial()
consolepty.type = "pty"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment