]> xenbits.xensource.com Git - people/liuw/osstest.git/commit
Debian: Abolish $suite and $xopts{Suite} from preseed_* interfaces.
authorIan Campbell <ian.campbell@citrix.com>
Mon, 18 Jan 2016 14:28:46 +0000 (14:28 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 17 Feb 2016 11:16:23 +0000 (11:16 +0000)
commitdde440794e0967a43eb7c575c2b0c834022f34f6
tree67d44e231735a446cf4e0977bfa43830eca64a0d
parent5417d2ee4dca96ba78f8e31f9573387e1b249bc2
Debian: Abolish $suite and $xopts{Suite} from preseed_* interfaces.

Generating a preseed for a suite which does not match the ->{Suite} of
the underlying guest or host object does not seem useful, so remove
this option and use ->{Suite} instead.

For guests ->{Suite} is set by debian_guest_suite() (which is called
from preseed_guest_create(), although it is often also called prior to
that) and by selectguest()

For hosts $ho->{Suite} is initialised by selecthost if we are in the
context of a $job (and if we aren't we had best not be trying to
reinstall a host).

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Osstest/Debian.pm
ts-debian-di-install
ts-debian-hvm-install
ts-host-install