Try to make the appliance script as quiet as possible along
the fast path.
---
 appliance/init | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/appliance/init b/appliance/init
index 21e7ab8..f6fe9b9 100755
--- a/appliance/init
+++ b/appliance/init
@@ -81,9 +81,11 @@ fi
 
 # Disk optimizations.
 # Increase the SCSI timeout so we can read remote images.
+shopt -s nullglob
 for f in /sys/block/sd*/device/timeout; do echo 300 > $f; done
 # https://access.redhat.com/site/solutions/5427
 for f in /sys/block/{h,s,ub,v}d*/queue/scheduler; do echo noop > $f; done
+shopt -u nullglob
 
 # Update the system clock.
 hwclock -u -s
-- 
2.5.0

_______________________________________________
Libguestfs mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libguestfs

Reply via email to