From: Cusick, J. C. N. 5. <joh...@na...> - 2010-12-13 23:58:51
|
Lee and Bryan, Actually, what I'm trying to do is have the systems install from my waystation and not access the Ubuntu (or Debian) public mirrors at all... ever. Management wants a single point of installation and updates with control over what gets installed and updated, particularly the kernel. They are lenient on choice of distributions, however, which is why I chose LinuxCOE as a starting point. That and the web-based installation disk creation which is perfect in an environment where only 1 of the Sys Admins is technically responsible for all the Linux systems here, but all sys admins may be required to install, and secure, the Linux Desktops. Eventually (shortly) this will be required for all the rpm-based and deb-based distros we support here. I've set up two different LinuxCOE systems, one for debs and one for rpms, including appropriate mirrors (centos, fedora, ubuntu, etc., depending on user prefs/requirements), and since I'm less experienced with debian way than Redahat/Fedora/CentOS I figured I'd start with the deb system setup first since I would find it more interesting :-) Also, due to some restrictions on network access locally, some of the chosen US mirrors are blocked or tightly choked. For example, the basic desktop install I tested last week took over 2 hours across the 'net. At home the same basic install took about 45 minutes complete to the working desktop, and my ISP at home supplies a far smaller bandwidth than I have available here. Not so good when I'm trying to grab some bragging rights with the local MS Guys :-) I figured that since we must have the mirrors, the LinuxCOE system would be a perfect adjunct for non-linux-oriented sys admins to put together installations with a minimum time and knowledge requirement while also meeting our platform and security update requirements. That, and the PRE, MID and POST stuff looks very interesting for downloading locally required security packages, documentation, scripts, etc. to speed up the final hands-on portion of the installation. My perl skills are inadequate at best, although I did spend some time with the source code last week which helped, but right now I'm not really sure of the most effective way to do all this. I tested what I interpreted the answer to be (below), but as you pointed out, Lee, it isn't working as setup out of the box. (LinuxCOE 4.3, by the way - installation and basic setup from source was a breeze, and Thank You all for that). Is it possible to setup a post-processing environment outside a H-P Facility? From what I saw in the code and read in various docs online at H-P, it looks like there may be some proprietary software involved. Or do I need to rebuild the appropriate apt debian packages (assuming they are delivered as part of the waystation package) so that they point to my server mirror only? Regards, John C. -----Original Message----- From: Mayes, Lee [mailto:lee...@hp...] Sent: Monday, December 13, 2010 12:24 To: Cusick, John CTR NAWCWD, 541400D; Gartner, Bryan W Cc: lin...@li... Subject: RE: [Linuxcoe-users] Using Mirrors 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 |