diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2011-03-30 17:03:11 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-03-31 15:42:13 +0100 |
commit | b8e1dee73a1deef1bfd5937e2abfbe9afef7b1ef (patch) | |
tree | 2c523527cf6d52c719722c2400df1bcbf6bd3699 /rescue/virt-rescue.c | |
parent | 4155d20014b24b2203c4dd8b00e2e19450a7e3bb (diff) | |
download | libguestfs-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 'rescue/virt-rescue.c')
-rw-r--r-- | rescue/virt-rescue.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rescue/virt-rescue.c b/rescue/virt-rescue.c index 8341e975..f129b1c8 100644 --- a/rescue/virt-rescue.c +++ b/rescue/virt-rescue.c @@ -95,6 +95,8 @@ main (int argc, char *argv[]) bindtextdomain (PACKAGE, LOCALEBASEDIR); textdomain (PACKAGE); + parse_config (); + enum { HELP_OPTION = CHAR_MAX + 1 }; static const char *options = "a:c:d:m:rvVx"; |