I think this kinda says it all, really: ---8<---
grog:~# augtool augtool> set /files/etc/network/interfaces/iface[4] br0 augtool> set /files/etc/network/interfaces/iface[4]/method manual augtool> set /files/etc/network/interfaces/iface[4]/family inet augtool> set /files/etc/network/interfaces/iface[4]/address 192.168.12.14 augtool> set /files/etc/network/interfaces/iface[4]/netmask 255.255.255.0 augtool> save Saving failed augtool> ls /augeas/files/etc/network/interfaces/error/ path = /files/etc/network/interfaces/iface lens = /usr/share/augeas/lenses/dist/interfaces.aug:77.16-81.46 message = Failed to match /(family/)(method/)((((allow-[a-z-][a-z-][a-z-]*_[_a-z-]*|allow-[a-z-]_[_a-z-]*|allow-(_[_a-z-]*|)|allow([_a-z][_a-z-]*|)|allo([_a-vx-z-][_a-z-]*|)|all([_a-np-z-][_a-z-]*|)|auto[_a-z-][_a-z-]*|aut([_a-np-z-][_a-z-]*|)|au([_a-su-z-][_a-z-]*|)|al([_a-km-z-][_a-z-]*|)|iface[_a-z-][_a-z-]*|ifac([_a-df-z-][_a-z-]*|)|ifa([_abd-z-][_a-z-]*|)|if([_b-z-][_a-z-]*|)|mapping[_a-z-][_a-z-]*|mappin([_a-fh-z-][_a-z-]*|)|mappi([_a-mo-z-][_a-z-]*|)|mapp([_a-hj-z-][_a-z-]*|)|map([_a-oq-z-][_a-z-]*|)|ma([_a-oq-z-][_a-z-]*|)|(m[_b-z-]|i[_a-eg-z-]|a[_a-km-tv-z-]|[_b-hj-ln-z-][_a-z-])[_a-z-]*|m|i|a|[_b-hj-ln-z-])/)|(#comment/)|(/))*)/ with method/family/address/netmask/ augtool> exit grog:~# augtool augtool> set /files/etc/network/interfaces/iface[4] br0 augtool> set /files/etc/network/interfaces/iface[4]/family inet augtool> set /files/etc/network/interfaces/iface[4]/method manual augtool> set /files/etc/network/interfaces/iface[4]/address 192.168.12.14 augtool> set /files/etc/network/interfaces/iface[4]/netmask 255.255.255.0 augtool> save Saved 1 file(s) --->8--- For the love of all that is holy, WHY? -- Matt Palmer - Systems Administrator A view into the Anchor Engineroom: http://anchor.com.au/blog/ Web Hosting Knowledgebase: http://anchor.com.au/wiki/ Anchor Systems Pty Ltd - Hosting Heavyweights W: http://www.anchor.com.u - E: [email protected] Phone: 1300 883 979 - Fax: 02 8296 5199 _______________________________________________ augeas-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/augeas-devel
