]> xenbits.xensource.com Git - libvirt.git/commit
systemd: Escape only needed characters for machined
authorMartin Kletzander <mkletzan@redhat.com>
Fri, 27 Nov 2015 13:24:38 +0000 (14:24 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Fri, 27 Nov 2015 15:39:46 +0000 (16:39 +0100)
commit0e0149ce91d84f40b98acf4c4bb0da6e29b9c15c
tree79479c4af0912ef1d55a850728e02a6585f72ff1
parentbaa3b463b386609d31ff14daa21f9d8616612d6e
systemd: Escape only needed characters for machined

Machine name escaping follows the same rules as serice name escape,
except that '.' and '-' must not be escaped in machine names, due
to a bug in systemd-machined.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1282846

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/util/virsystemd.c
tests/virsystemdtest.c