mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
p2v: log also environment on conversion server
Save the content of the environment on the conversion server, so it is one additional help when debugging failed conversions.
This commit is contained in:
@@ -1060,6 +1060,11 @@ generate_wrapper_script (struct config *config, const char *remote_dir,
|
||||
fprintf (fp, "rm -f $log\n");
|
||||
fprintf (fp, "\n");
|
||||
|
||||
fprintf (fp,
|
||||
"# Log the environment where virt-v2v will run.\n");
|
||||
fprintf (fp, "printenv > environment\n");
|
||||
fprintf (fp, "\n");
|
||||
|
||||
fprintf (fp,
|
||||
"# Run virt-v2v. Send stdout back to virt-p2v. Send stdout\n"
|
||||
"# and stderr (debugging info) to the log file.\n");
|
||||
|
||||
@@ -662,6 +662,12 @@ The dmesg output from the physical machine. Useful for detecting
|
||||
problems such as missing device drivers or firmware on the virt-p2v
|
||||
ISO.
|
||||
|
||||
=item F<environment>
|
||||
|
||||
I<(before conversion)>
|
||||
|
||||
The content of the environment where L<virt-v2v(1)> will run.
|
||||
|
||||
=item F<lscpu>
|
||||
|
||||
=item F<lspci>
|
||||
|
||||
Reference in New Issue
Block a user