Hi,
I need a lense for /etc/iscsi/iscsid.conf
I have found the following (which doesn't work for some reason).
[root@lg600 dist]# cat iscsid.aug
module Iscsid =
autoload xfm
let filter = incl "/etc/iscsi/iscsid.conf"
let eol = Util.eol
let indent = Util.indent
let key_re = /[][A-Za-z0-9_.-]+/
let eq = del /[ \t]*=[ \t]*/ " = "
let value_re = /[^ \t\n](.*[^ \t\n])?/
let comment = [ indent . label "#comment" . del /[#;][ \t]*/ "# "
. store /([^ \t\n].*[^ \t\n]|[^ \t\n])/ . eol ]
let empty = Util.empty
let kv = [ indent . key key_re . eq . store value_re . eol ]
[root@lg600 dist]#
When i run augparse I get the following error message:
[root@lg600 dist]# augparse iscsid.aug
Syntax error in lens definition
iscsid.aug:1.0-.6:Undefined transform in autoload xfm
[root@lg600 dist]#
What is the reason?
Where can I find a working lense for iscsid.conf?
Thanks,
Royee Tager
_______________________________________________
augeas-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/augeas-devel