[libvirt] [PATCH 0/2] Set hostname in lxc containers

Michal Privoznik mprivozn at redhat.com
Wed Jan 3 08:42:23 UTC 2018


On 12/18/2017 03:56 PM, Cédric Bosdonnat wrote:
> Hey there,
> 
> Here are two commits to set a transient hostname on lxc containers based
> on the guest name.
> 
> Cédric Bosdonnat (2):
>   Add virStringFilterChars() string utility
>   lxc: set a hostname based on the container name
> 
>  src/libvirt_private.syms |  1 +
>  src/lxc/lxc_container.c  | 35 +++++++++++++++++++++++++++++++++++
>  src/util/virstring.c     | 24 ++++++++++++++++++++++++
>  src/util/virstring.h     |  1 +
>  tests/virstringtest.c    | 46 ++++++++++++++++++++++++++++++++++++++++++++++
>  5 files changed, 107 insertions(+)
> 

ACK

Michal




More information about the libvir-list mailing list