#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

_______________________________________________
augeas-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/augeas-devel

Reply via email to