1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

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

This commit is contained in:
Jan Orel 2020-11-10 18:00:15 +01:00 committed by GitHub
parent 147ef6c481
commit deb32cad1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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\" ]
" =?