[Libguestfs] [PATCH v3 01/11] appliance: When using verbose mode, 'set -x' in the appliance init script.

Richard W.M. Jones rjones at redhat.com
Tue Mar 22 19:05:20 UTC 2016


---
 appliance/init | 1 +
 1 file changed, 1 insertion(+)

diff --git a/appliance/init b/appliance/init
index f6fe9b9..f4f6333 100755
--- a/appliance/init
+++ b/appliance/init
@@ -93,6 +93,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.7.4




More information about the Libguestfs mailing list