1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

B #5166 Augeas lens: allow space after section (#404)

(cherry picked from commit deb32cad1b307c84ac5d314847b3eca8875b9fd5)
This commit is contained in:
Jan Orel 2020-11-10 18:00:15 +01:00 committed by Ruben S. Montero
parent 1d5bf0e056
commit 9baaff9a85
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87
2 changed files with 7 additions and 1 deletions

View File

@ -1,9 +1,10 @@
module Oned =
autoload xfm
(* Version: 1.3 *)
(* Version: 1.4 *)
(* Change log: *)
(* 1.4: Allow space after section *)
(* 1.3: Allow escaped quotes in values *)
(* 1.2: Include /etc/one/monitord.conf *)
@ -59,6 +60,7 @@ let section = opt_space
. opt_nl_indent
. section_entry_list
. right_br ]
. opt_space
. eol
let empty_line = [ del /[ \t]*\n/ "\n" ]

View File

@ -177,4 +177,8 @@ VM_MAD = [
"DB = [
PASSWORD = \"open\\\"nebula\"
]
" =?
test Oned.lns get
" NIC = [ model=\"virtio\" ]
" =?