All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wei Liu <wei.liu2@citrix.com>
To: Ian Campbell <ian.campbell@citrix.com>
Cc: "Hu, Robert" <robert.hu@intel.com>,
	"Pang, LongtaoX" <longtaox.pang@intel.com>,
	"wei.liu2@citrix.com" <wei.liu2@citrix.com>,
	"Ian.Jackson@eu.citrix.com" <Ian.Jackson@eu.citrix.com>,
	"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: [OSSTEST Nested PATCH 2/6] Add and expose some testsupport APIs
Date: Mon, 23 Mar 2015 17:29:44 +0000	[thread overview]
Message-ID: <20150323172944.GB19412@zion.uk.xensource.com> (raw)
In-Reply-To: <1427129155.21742.300.camel@citrix.com>

On Mon, Mar 23, 2015 at 04:45:55PM +0000, Ian Campbell wrote:
> On Mon, 2015-03-23 at 16:20 +0000, Pang, LongtaoX wrote:
> > > 
> > > > > > The editconfig_cd thing -- yet another thing which Ian questioned
> > > > > > and which it was agreed you would change but you haven't.
> > > > > >
> > > > > For this question, I have sent a mail about it.(2015-03-04) After
> > > > > finishing L1 guest VM installation, we need to change L1 guest boot
> > > > > sequence from ISO image to hard disk, we need modify the "boot=cd" ,
> > > >
> > > > Do you? As Ian asked before, why is guest_editconfig_nocd  not
> > > > sufficient? It removes the CD from the virtual drive, meaning that
> > > > "boot=dc" will fail to boot from d and fallthru to c.
> > > >
> > > > >  also need to enable 'nestedhvm' feature in hvm configure file,
> > > >
> > > > This certainly doesn't belong in a function called
> > > > guest_editconfig_cd, since it has nothing to do with cds at all.
> > > >
> > > > Anyway, it's not clear why you need to edit this into the nestedhvm
> > > > configuration, instead of adding it when the configuration is created
> > > > via more_prepareguest_hvm. What harm is there in enabling this during
> > > > guest install?
> > > >
> > > I will try it.
> > > 
> > Re-use 'guest_ediconfig_nocd', after finishing L1 installation, it
> > could boot into L1 OS, but failed to install packages( such as lvm2,
> > rsync, bridge-utils ....) via Debian repo in L1, as below msg:
> 
> Oh dear. Things really ought to be tailored on install to use the
> network repositories for the apt sources, not the cdrom.

When I wrote ts-debian-hvm-install, one of the problems (if I remember
correctly) was that our network infrastructure didn't support booting
EFI from PXE boot. I ended up making that disk image to sort of work
around this.

> 
> Installing from netboot rather than netinst media ought to achieve that,
> I'm not sure with ts-debian-hvm-install uses though or how to achieve it
> via preseeding if it isn't the default for the given media.
> 

Per  https://www.debian.org/releases/stable/example-preseed.txt,
these runes look interesting.

# Additional repositories, local[0-9] available
#d-i apt-setup/local0/repository string \
#       http://local.server/debian stable main
#d-i apt-setup/local0/comment string local server
# Enable deb-src lines
#d-i apt-setup/local0/source boolean true
# URL to the public key of the local repository; you must provide a key
# or
# apt will complain about the unauthenticated repository and so the
# sources.list line will be left commented out
#d-i apt-setup/local0/key string http://local.server/key

Not sure if they will really end up in source.list though.

Wei.

> What does /etc/apt/sources.list contain for your installed L1 guest?
> Does it contain both cdrom and http entries?
> 
> Ian.

  reply	other threads:[~2015-03-23 17:29 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-20 12:09 [OSSTEST Nested PATCH 2/6] Add and expose some testsupport APIs Pang, LongtaoX
2015-03-20 12:20 ` Ian Campbell
2015-03-20 12:59   ` Pang, LongtaoX
2015-03-20 13:37     ` Ian Campbell
2015-03-23  6:31   ` Hu, Robert
2015-03-23  9:49     ` Ian Campbell
2015-03-24  3:25       ` Hu, Robert
2015-03-24  9:43         ` Ian Campbell
2015-03-24  3:34       ` Hu, Robert
2015-03-24  9:45         ` Ian Campbell
2015-03-24 11:41           ` Ian Jackson
2015-03-23 16:20   ` Pang, LongtaoX
2015-03-23 16:45     ` Ian Campbell
2015-03-23 17:29       ` Wei Liu [this message]
2015-03-23 17:36         ` Ian Campbell
2015-03-24  5:13           ` Pang, LongtaoX
2015-03-24  8:50             ` Wei Liu
2015-03-24  9:36             ` Ian Campbell
2015-03-23 17:19     ` Wei Liu
2015-03-23 17:32       ` Ian Campbell
  -- strict thread matches above, loose matches on Subject: below --
2015-03-17 18:16 [OSSTEST Nested PATCH 0/6] Introduction of netsted HVM test job longtao.pang
2015-03-17 18:16 ` [OSSTEST Nested PATCH 2/6] Add and expose some testsupport APIs longtao.pang
2015-03-19 16:27   ` Ian Campbell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150323172944.GB19412@zion.uk.xensource.com \
    --to=wei.liu2@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=ian.campbell@citrix.com \
    --cc=longtaox.pang@intel.com \
    --cc=robert.hu@intel.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.