Re: boot time delay for domains?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Anno domini 2010 PaweÅ KrzeÅniak scripsit:

> # cat > /usr/bin/local/qemu-kvm-with-random-delay
> #!/bin/bash
> # delay running of virtual machine by 0-9 seconds
> sleep $(( $RANDOM % 10 ))
> exec /usr/bin/qemu-kvm $*
> ^D

When using $* you might lose quoting of parameters.
  exec /usr/bin/qemu-kvm "$@"
would preserve this.

Ciao
Max
-- 
"Ich glaub', ich bin fÃr Firmen nicht gut. FÃnf Jahre, nachdem ich irgendwo angefanen hab', ticken die alle durch :-D
 Vor allem in den hÃheren Etagen. War bei [Ex-Firma] ja nicht wirklich anders :-P"
 -- Autor bekannt

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]