From: Mayes, L. <lee...@hp...> - 2010-12-13 20:25:15
|
The depots directory is scraped and applied only if running the full LinuxOE post-processing environment. You'll also need to set up the stuff in linuxcoe-sd/base/ stuff to reference our post processing RPM. BryanG, do we do that out of the box? John, If repointing the installed boxes to your waystation is all you need you might just sed sources.lists.d/* to populate with your values in the final script. Lee -----Original Message----- From: Cusick, John CTR NAWCWD, 541400D [mailto:joh...@na...] Sent: Monday, December 13, 2010 3:08 PM To: Gartner, Bryan W Cc: lin...@li... Subject: Re: [Linuxcoe-users] Using Mirrors Bryan, Wow! That was a very quick reply. Ah... so I think I got it! In other words, I use the linuxcoe-sd/depot directory and, for example, the apt-Ubuntu-Maverick file would have the following entries, (ubuntu-lds being the name of my server): deb @ME...@ub.../ubuntu/ maverick main multiverse restricted universe deb @ME...@ub.../ubuntu/ maverick-updates main multiverse restricted universe whereas in the linuxcoe-sd/osvend.d the Ubuntu file has the following entry: OSVEND ubuntu-lds.my.domain.mil Ubuntu Maverick x86_64 HTTP /ubuntu/ At image creation time, in my case using http, @METHOD@ will be translated to http, Correct? I'm a little new to mirroring debian-based distros and I've not always been sure of the correct syntax, although I am now making the assumption that it should match the standard sources.list file (not to mention that I'm not really strong with perl, either :-). That may have been where my initial tests had failed to do what I expected as the linuxcoe-sd/depot/ files were not 'right' compared to a typical sources.list file. Thanks again. Regards, John Cusick -----Original Message----- From: Bryan Gartner [mailto:bry...@hp...] Sent: Monday, December 13, 2010 11:34 To: Cusick, John CTR NAWCWD, 541400D Cc: lin...@li... Subject: Re: [Linuxcoe-users] Using Mirrors John, On Mon, Dec 13, 2010 at 06:55:05PM +0000, Cusick, John CTR NAWCWD, 541400D wrote: > I've setup LinuxCoe locally and first tests have been basically successful. Good deal, feel free to follow-up with other questions you may have. > I do have one question regarding waystations, however. > > I was under the impression that the entire workstation would be loaded from the server entered as the OSVEND, but that does not seem to be the case. Although the install starts from there, the packages are downloaded from outside-the-local-network mirrors instead of the locally setup mirror. Actually, think of OSVEND as a simple point mechanism to any valid distribution mirror. > Is there a way from within LinuxCOE to force the local mirror as the only download point? Specifically, I have an Ubuntu waystation/mirror setup and although it correctly used the waystation/mirror during the initial load phase, once the software install started it accessed us.archive.ubuntu.com. I would like it to use the local mirror only. You can augment/replace any tuple (distro/version/arch) combination with as many mirrors as you'd like, whether remote or local to your environment. Simply follow the syntax examples in the file of interest. > In case this is not the best place to ask questions, is there a better list or forum to use? This is entirely fine, ask away :) bryang |