[Libguestfs] [PATCH v2 2/7] appliance: When using verbose mode, 'set -x' in the appliance init script.
Richard W.M. Jones
rjones at redhat.com
Sun Mar 20 12:30:59 UTC 2016
---
appliance/init | 1 +
1 file changed, 1 insertion(+)
diff --git a/appliance/init b/appliance/init
index 657943c..d1ea9a6 100755
--- a/appliance/init
+++ b/appliance/init
@@ -95,6 +95,7 @@ hwclock -u -s
# Parse the kernel command line.
if grep -sq guestfs_verbose=1 /proc/cmdline; then
guestfs_verbose=1
+ set -x
fi
if grep -sq guestfs_network=1 /proc/cmdline; then
guestfs_network=1
--
2.5.0
More information about the Libguestfs
mailing list