[libvirt] [PATCH 0/2] bugfix: support dhcp network interfaces

Gene Czarcinski gczarcinski at ec.rr.com
Tue Sep 9 18:50:41 UTC 2014


Support for a network such as -N dhcp,source=default was not working
in that dhclient was not being started.  Although I am not sure what
the real problem is, the solution is to use g_spawn_sync() instead of
g_spawn_async() to start /sbin/dhclient.

The second patch addes "-v" to the dhclient arguments to improve debugging
info.  The dhclient into will be in /var/log/messages the Secure Contrainer
host system and not in the container itself.

Gene Czarcinski (2):
  for dhclient use g_spawn_sync instead of g_spawn_async
  add -v to dhclient parameter arguments

 libvirt-sandbox/libvirt-sandbox-init-common.c | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

-- 
1.9.3




More information about the libvir-list mailing list