From: Ian Jackson Subject: Re: [OSSTEST v6 13/24] distros: support PV guest install from Debian netinst media. Date: Tue, 12 May 2015 17:14:54 +0100 Message-ID: <21842.9982.377958.717026@mariner.uk.xensource.com> References: <1430905605.2660.187.camel@citrix.com> <1430906213-30108-13-git-send-email-ian.campbell@citrix.com> <21842.8616.482657.154030@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <21842.8616.482657.154030@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Ian Jackson writes ("Re: [OSSTEST v6 13/24] distros: support PV guest install from Debian netinst media."): > Ian Campbell writes ("[OSSTEST v6 13/24] distros: support PV guest install from Debian netinst media."): > > + my $baseurl = $cd eq "current" ? > > + "http://cdimage.debian.org/debian-cd/current/$props->{PathArch}/jigdo-cd" : > > + "http://cdimage.debian.org/cdimage/weekly-builds/$props->{PathArch}/jigdo-cd"; > > This should surely come from a runvar (or perhaps a config option) > rather than being hardcoded. It occurs to me that doing this in a runvar with the url would mean that the runvar "_cd" which currently contains a string like `current' would go away. I wonder if a similar consideration ought to apply to the `_diver' thing. (Why `diver' rather than `divert', JOOI?) Ian.