[augeas-devel] [Augeas] #172: Auto-save mode for single set commands
Augeas
trac at fedorahosted.org
Tue Jan 4 17:15:05 UTC 2011
#172: Auto-save mode for single set commands
-------------------------+--------------------------------------------------
Reporter: domcleal | Owner: lutter
Type: enhancement | Status: new
Priority: minor | Milestone: next
Component: Augeas | Version: 0.7.4
Keywords: augtool |
-------------------------+--------------------------------------------------
It would be useful to add an "auto-save" option to augtool so it runs a
"save" command once all other commands have been processed.
This would be particularly useful when supplying a single "set" command as
an argument to augtool for scripting:
# augtool -s set /files/etc/sysctl.conf/net.ipv4.ip_forward 1
At the moment you'd probably use -f or echo into stdin:
# echo -e "set /files/etc/sysctl.conf/net.ipv4.ip_forward 1\nsave" |
augtool
--
Ticket URL: <https://fedorahosted.org/augeas/ticket/172>
Augeas <http://augeas.net/>
a configuration API
More information about the augeas-devel
mailing list