summaryrefslogtreecommitdiffstats
path: root/generator
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2010-11-05 11:39:24 +0000
committerRichard W.M. Jones <rjones@redhat.com>2010-11-05 11:39:24 +0000
commita232e62dcf508517a32b9a8d7e4529e827be721b (patch)
tree8fccb1e49fd75aacbc7190eb55685525b6df0f88 /generator
parent446db62e113594fef84d2f533ef3a1330153f0bb (diff)
downloadlibguestfs-a232e62dcf508517a32b9a8d7e4529e827be721b.tar.gz
libguestfs-a232e62dcf508517a32b9a8d7e4529e827be721b.tar.xz
libguestfs-a232e62dcf508517a32b9a8d7e4529e827be721b.zip
fish: '-i' option automatically handles whole-disk encryption.
This feature is also available in guestmount because of the shared option parsing code. You don't need to do anything to enable it, just using -i will attempt decryption of encrypted partitions. Only works for simple Fedora whole-disk encryption. It's a work-in-progress to make it work for other types of encryption.
Diffstat (limited to 'generator')
-rw-r--r--generator/generator_fish.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/generator/generator_fish.ml b/generator/generator_fish.ml
index 1341fa26..76b4c7aa 100644
--- a/generator/generator_fish.ml
+++ b/generator/generator_fish.ml
@@ -58,6 +58,7 @@ let generate_fish_cmds () =
pr "#include \"full-write.h\"\n";
pr "#include \"xstrtol.h\"\n";
pr "#include \"fish.h\"\n";
+ pr "#include \"options.h\"\n";
pr "#include \"cmds_gperf.h\"\n";
pr "\n";
pr "/* Valid suffixes allowed for numbers. See Gnulib xstrtol function. */\n";