d5b3853e5052587c65f8b833c1fcc248b02d5f9e
[genesis.git] / fuel / build / patch-packages / python-nova / nova-console.patch
1 *** package/usr/share/pyshared/nova/virt/libvirt/driver.py.orig 2015-02-16 14:19:53.203052869 +0100
2 --- package/usr/share/pyshared/nova/virt/libvirt/driver.py      2015-02-16 14:22:53.065017671 +0100
3 ***************
4 *** 3959,3968 ****
5                   # client app is connected. Thus we can't get away
6                   # with a single type=pty console. Instead we have
7                   # to configure two separate consoles.
8 !                 consolelog = vconfig.LibvirtConfigGuestSerial()
9 !                 consolelog.type = "file"
10 !                 consolelog.source_path = self._get_console_log_path(instance)
11 !                 guest.add_device(consolelog)
12
13               consolepty = vconfig.LibvirtConfigGuestSerial()
14           else:
15 --- 3959,3971 ----
16                   # client app is connected. Thus we can't get away
17                   # with a single type=pty console. Instead we have
18                   # to configure two separate consoles.
19 !                 # Disabled by OPNFV BEGIN
20 !                 # consolelog = vconfig.LibvirtConfigGuestSerial()
21 !                 # consolelog.type = "file"
22 !                 # consolelog.source_path = self._get_console_log_path(instance)
23 !                 # guest.add_device(consolelog)
24 !                 pass
25 !                 # Disabled by OPNFV END
26
27               consolepty = vconfig.LibvirtConfigGuestSerial()
28           else: