summaryrefslogtreecommitdiffstats
path: root/fish/libguestfs-tools.conf
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-03-30 17:03:11 +0100
committerRichard W.M. Jones <rjones@redhat.com>2011-03-31 15:42:13 +0100
commitb8e1dee73a1deef1bfd5937e2abfbe9afef7b1ef (patch)
tree2c523527cf6d52c719722c2400df1bcbf6bd3699 /fish/libguestfs-tools.conf
parent4155d20014b24b2203c4dd8b00e2e19450a7e3bb (diff)
downloadlibguestfs-b8e1dee73a1deef1bfd5937e2abfbe9afef7b1ef.tar.gz
libguestfs-b8e1dee73a1deef1bfd5937e2abfbe9afef7b1ef.tar.xz
libguestfs-b8e1dee73a1deef1bfd5937e2abfbe9afef7b1ef.zip
Add /etc/libguestfs-tools.conf configuration file.
This allows the default for --ro or --rw to be controlled for the three tools guestfish, guestmount and virt-rescue.
Diffstat (limited to 'fish/libguestfs-tools.conf')
-rw-r--r--fish/libguestfs-tools.conf24
1 files changed, 24 insertions, 0 deletions
diff --git a/fish/libguestfs-tools.conf b/fish/libguestfs-tools.conf
new file mode 100644
index 00000000..7e604684
--- /dev/null
+++ b/fish/libguestfs-tools.conf
@@ -0,0 +1,24 @@
+# /etc/libguestfs-tools.conf or .libguestfs-tools.rc
+#
+# This configuration file changes the defaults for the following programs:
+# * guestfish
+# * guestmount
+# * virt-rescue
+# For more information on these programs, read the manual pages
+# (guestfish(1) etc).
+#
+# /etc/libguestfs-tools.conf is the global configuration file for all
+# of the above programs. Local users can override the global
+# configuration by copying this file into '.libguestfs-tools.rc' in
+# their home directory and modifying it accordingly.
+#
+# This file is parsed by the libconfig library. For more information
+# about the format, see
+# http://www.hyperrealm.com/libconfig/libconfig_manual.html
+
+# Uncomment the following line to make guestfish, guestmount,
+# virt-rescue be read-only by default (as if the --ro flag was given).
+# If it is commented out then the default is read-write. Note that
+# the semi-colon (;) is required.
+
+#read_only = true;