git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
10258ca
)
Todo: Suggestion for 'replace' command.
author
Richard Jones
<rjones@trick.home.annexia.org>
Wed, 22 Jul 2009 11:39:21 +0000
(12:39 +0100)
committer
Richard Jones
<rjones@trick.home.annexia.org>
Wed, 22 Jul 2009 11:39:21 +0000
(12:39 +0100)
TODO
patch
|
blob
|
history
diff --git
a/TODO
b/TODO
index
5dc8bd5
..
16d6880
100644
(file)
--- a/
TODO
+++ b/
TODO
@@
-176,3
+176,25
@@
Other initrd-* commands, such as:
initrd-extract
initrd-replace
initrd-extract
initrd-replace
+
+----------------------------------------------------------------------
+
+Some easy non-Augeas methods to edit configuration files.
+I'm thinking:
+
+ replace /etc/file key value
+
+which would look in /etc/file for any instances of
+
+ key=...
+ key ...
+ key:...
+
+and replace them with
+
+ key=value
+ key value
+ key:value
+
+That would solve about 50% of reconfiguration needs, and for the
+rest you'd use Augeas, 'download'+'upload' or 'edit'.