[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [OSSTEST Nested PATCH 2/6] Add and expose some testsupport APIs
On Mon, 2015-03-23 at 17:29 +0000, Wei Liu wrote: > 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. My expectation is that the existing preseed will have resulted in both http and cdrom entries, and all that is needed is to comment out the cdrom ones so the network ones take precedence. Lets wait for an answer to my question about what is in sources.list on these VMs before speculating further on how to fix this though. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |