[Ovirt-devel] [PATCH node-image] increase timeout to 30s for CD/USB boot

Darryl L. Pierce dpierce at redhat.com
Mon Feb 2 20:44:02 UTC 2009


On Sun, Feb 01, 2009 at 11:23:47PM +0100, Alan Pevec wrote:
> timeout quickly for PXE boot
> ---
>  common-install.ks |    2 +-
>  ovirt-pxe         |    3 +++
>  2 files changed, 4 insertions(+), 1 deletions(-)
> 
> diff --git a/common-install.ks b/common-install.ks
> index 8e34301..0c26d9b 100644
> --- a/common-install.ks
> +++ b/common-install.ks
> @@ -7,7 +7,7 @@ firewall --disabled
>  part / --size 550 --fstype ext2
>  services --enabled=ntpd,ntpdate,collectd,iptables,network,rsyslog
>  # This requires a new fixed version of livecd-creator to honor the --append settings.
> -bootloader --timeout=5 --append="console=tty0 console=ttyS0,115200n8"
> +bootloader --timeout=30 --append="console=tty0 console=ttyS0,115200n8"
>  
>  # not included by default in Fedora 10 livecd initramfs
>  device virtio_blk
> diff --git a/ovirt-pxe b/ovirt-pxe
> index 5223990..b605644 100755
> --- a/ovirt-pxe
> +++ b/ovirt-pxe
> @@ -32,3 +32,6 @@ livecd-iso-to-pxeboot $ISO
>  # append BOOTIF with PXE MAC info
>  f=tftpboot/pxelinux.cfg/default
>  grep -q 'IPAPPEND 2' $f || sed -i '/KERNEL/a \\tIPAPPEND 2' $f
> +
> +# timeout quickly for PXE boots
> +sed -i 's/timeout.*/timeout 1/' $f

ACK. 

-- 
Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc.
Virtual Machine Management - http://www.ovirt.org/
"What do you care what other people think, Mr. Feynman?"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20090202/7857a280/attachment.sig>


More information about the ovirt-devel mailing list