appliance: When using verbose mode, 'set -x' in the appliance init script.

This commit is contained in:
Richard W.M. Jones
2016-03-19 18:26:39 +00:00
parent 9423c16607
commit d368fa0895

View File

@@ -95,6 +95,7 @@ hwclock -u -s
# Parse the kernel command line.
if [[ $cmdline == *guestfs_verbose=1* ]]; then
guestfs_verbose=1
set -x
fi
if [[ $cmdline == *guestfs_network=1* ]]; then
guestfs_network=1