qemu: group swtpm entry in augeas file

They are meant to be together.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
This commit is contained in:
Ján Tomko 2019-01-14 21:18:26 +01:00
parent 361f772f6f
commit 10ee1270ff
1 changed files with 3 additions and 4 deletions

View File

@ -122,8 +122,8 @@ module Libvirtd_qemu =
let nbd_entry = bool_entry "nbd_tls" let nbd_entry = bool_entry "nbd_tls"
| str_entry "nbd_tls_x509_cert_dir" | str_entry "nbd_tls_x509_cert_dir"
let swtpm_user_entry = str_entry "swtpm_user" let swtpm_entry = str_entry "swtpm_user"
let swtpm_group_entry = str_entry "swtpm_group" | str_entry "swtpm_group"
(* Each entry in the config is one of the following ... *) (* Each entry in the config is one of the following ... *)
let entry = default_tls_entry let entry = default_tls_entry
@ -145,8 +145,7 @@ module Libvirtd_qemu =
| memory_entry | memory_entry
| vxhs_entry | vxhs_entry
| nbd_entry | nbd_entry
| swtpm_user_entry | swtpm_entry
| swtpm_group_entry
let comment = [ label "#comment" . del /#[ \t]*/ "# " . store /([^ \t\n][^\n]*)?/ . del /\n/ "\n" ] let comment = [ label "#comment" . del /#[ \t]*/ "# " . store /([^ \t\n][^\n]*)?/ . del /\n/ "\n" ]
let empty = [ label "#empty" . eol ] let empty = [ label "#empty" . eol ]