From a2c3958c1487b9d3fe929498f53e71637ff8d53b Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Sat, 19 Mar 2016 18:26:39 +0000
Subject: [PATCH] appliance: When using verbose mode, 'set -x' in the appliance
init script.
(cherry picked from commit d368fa08955a17feed39baaab990dae361fede13)
---
appliance/init | 1 +
1 file changed, 1 insertion(+)
diff --git a/appliance/init b/appliance/init
index fd56033..239b50e 100755
--- a/appliance/init
+++ b/appliance/init
@@ -97,6 +97,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
--
2.7.4