summaryrefslogtreecommitdiffstats
path: root/TODO
diff options
context:
space:
mode:
authorRichard Jones <rjones@trick.home.annexia.org>2009-07-22 12:39:21 +0100
committerRichard Jones <rjones@trick.home.annexia.org>2009-07-22 12:39:21 +0100
commitafe8096e9aa2a18541e92262d9473de4a65fa29e (patch)
tree725504715adf1081a52855fb7d948f117df591cb /TODO
parent10258cadd0067cb49b89faf1ce424b1c01f5a7c3 (diff)
downloadlibguestfs-afe8096e9aa2a18541e92262d9473de4a65fa29e.tar.gz
libguestfs-afe8096e9aa2a18541e92262d9473de4a65fa29e.tar.xz
libguestfs-afe8096e9aa2a18541e92262d9473de4a65fa29e.zip
Todo: Suggestion for 'replace' command.
Diffstat (limited to 'TODO')
-rw-r--r--TODO22
1 files changed, 22 insertions, 0 deletions
diff --git a/TODO b/TODO
index 5dc8bd5d..16d6880e 100644
--- a/TODO
+++ b/TODO
@@ -176,3 +176,25 @@ Other initrd-* commands, such as:
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'.