[Libguestfs] [PATCH v4 1/6] appliance: When using verbose mode, 'set -x' in the appliance init script.
Richard W.M. Jones
rjones at redhat.com
Wed Mar 23 13:35:39 UTC 2016
---
appliance/init | 1 +
1 file changed, 1 insertion(+)
diff --git a/appliance/init b/appliance/init
index 8d662fa..04afbd6 100755
--- a/appliance/init
+++ b/appliance/init
@@ -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
--
2.7.4
More information about the Libguestfs
mailing list