[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 3/3] ts-host-install/Debian: improvements for standalone mode.
Add a per-host option to not use serial, in case the test box only has VGA. Also allow the user to configure which Debian Installer frontend to use, again useful in standalone mode (where you might actually be watching it) --- Osstest/Debian.pm | 3 ++- README | 15 ++++++++++++--- ts-host-install | 3 ++- 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index 157f666..8df3d3b 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -281,9 +281,10 @@ sub di_installcmdline_core ($$;@) { auto=true preseed hw-detect/load_firmware=false DEBCONF_DEBUG=5 - DEBIAN_FRONTEND=text ); + my $difront = get_host_property($tho,'DIFrontend','text'); push @cl, ( + "DEBIAN_FRONTEND=$difront", "hostname=$tho->{Name}", "url=$ps_url", "netcfg/dhcp_timeout=150", diff --git a/README b/README index 5808266..418aac4 100644 --- a/README +++ b/README @@ -74,10 +74,19 @@ HostProp_<testbox>_Ether MAC address of the box <testbox>. Only needed if you want to use the osstest host and Xen installer. +HostProp_<testbox>_NoSerial + Set to 1 if <testbox> has no serial, system will use VGA console + instead. + +HostProp_<testbox>_DIFrontend + Configure the frontend used by Debian installer. Default in osstest + is a very basic "text" interface but for standalone configurations, + especially on VGA, "newt" might be preferred. + DebianPreseed - Text to add to the debian-installer preseed file. Optional - but you will need to set some NTP servers here if your firewall - doesn't permit NTP to Debian's pool.ntp.org servers. + Text to add to the debian-installer preseed file. Optional + but you will need to set some NTP servers here if your firewall + doesn't permit NTP to Debian's pool.ntp.org servers. ======================================== diff --git a/ts-host-install b/ts-host-install index 6028526..f97b222 100755 --- a/ts-host-install +++ b/ts-host-install @@ -161,7 +161,8 @@ END get_host_property($ho, "install-append $ho->{Suite}", ''); push @installcmdline, qw(--); - push @installcmdline, "console=ttyS0,$c{Baud}n8"; + push @installcmdline, "console=ttyS0,$c{Baud}n8" + unless get_host_property($ho, "NoSerial", "0"); my $installcmdline= join ' ', @installcmdline; -- 1.7.10.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |