mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
appliance: Quiet some warnings about missing files.
Try to make the appliance script as quiet as possible along the fast path.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user