Re: [CentOS] grabbing ip address from kickstart pre

2011-08-14 Thread Joseph L. Casale
>Since tr isnt available how else can I do it? Check out page 21 of this pdf: http://www.redhat.com/promo/summit/2010/presentations/summit/decoding-the-code/wed/cshabazi-530-more/MORE-Kickstart-Tips-and-Tricks.pdf Interesting, while the awk solution is more appropriate for your need, this can mak

Re: [CentOS] grabbing ip address from kickstart pre

2011-08-14 Thread Joseph L. Casale
>The thing is if it's in the %pre section, AWK would not have >been installed yet? I wouldn't have suggested it if it would not have worked. Awk *is* available in %pre. As the op noted, tr is not available but several tools like awk,gawk,grep,fgrep,egrep,wget etc are.

Re: [CentOS] {Disarmed} Kickstart installation error

2011-08-14 Thread Thomas Johansson
On 2011-08-14 19:49, Anshul Chauhan wrote: > Hi, > > I’m trying kickstart on CentOS > > > : > class "pxeclients" { > match if substring(option vendor-class-identifier, 0, 9) = "PXEClient"; > next-server 192.168.0.1; > filename "linux-install/pxelinux.0"; > } > > *FTP server showing ks file access

Re: [CentOS] grabbing ip address from kickstart pre

2011-08-14 Thread Thomas Johansson
On 2011-08-13 04:26, Jerry Geis wrote: > I can get the kickstart command line with /proc/cmdline > > it looks something like x ks=http://192.168.1.8/ks/ks.cfg xx > in the %pre sections of my ks.cfg I was wanting to extract the IP from > the ks= part. > I was going to utilize the "tr" comma

Re: [CentOS] grabbing ip address from kickstart pre

2011-08-14 Thread Keith Roberts
On Sun, 14 Aug 2011, Joseph L. Casale wrote: > To: 'CentOS mailing list' > From: Joseph L. Casale > Subject: Re: [CentOS] grabbing ip address from kickstart pre > >> how can I go about extracting the IP address from with in the %pre section >> >> I was going to do something like: >> cat /proc/c

Re: [CentOS] grabbing ip address from kickstart pre

2011-08-14 Thread Joseph L. Casale
>how can I go about extracting the IP address from with in the %pre section > >I was going to do something like: >cat /proc/cmdline | tr ' ' '\n' | grep ks=http | tr '/' ' ' | awk {' >print $2'} > >Since tr isnt available how else can I do it? Jerry, You ever solve this? You can do this all wit

Re: [CentOS] Kickstart installation error

2011-08-14 Thread Joseph L. Casale
>Can't find what I'm doing wrong   Probably we won't be able to either unless you elaborate on how you begin the installation:) Given you posted dhcpd config, I am willing to guess you are doing|assuming something wrong... http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Installa

[CentOS] Kickstart installation error

2011-08-14 Thread Anshul Chauhan
Hi, I’m trying kickstart on CentOS Below is my ks.cfg *[root@localhost ~]# cat /root/ks.cfg* * * #Generated by Kickstart Configurator #platform=x86, AMD64, or Intel EM64T #System language lang en_US #Language modules to install langsupport en_US #System keyboard keyboard us #S

Re: [CentOS] dovecot problem -- not deleting messages from server after downloading them - SOLVED

2011-08-14 Thread Charlie Brune
On 08/14/2011 05:48 AM, Alexander Dalloz wrote: > Am 14.08.2011 03:00, schrieb Charlie Brune: > >> I solved the problem by disabling SELinux. Not sure why that fixed it, >> but it did make me dislike SELinux just a little bit more. LOL >> >> Regards, >> Charlie > That's hardly any kind of a solutio

Re: [CentOS] vmxnet3 patch for CentOS6 kernel?

2011-08-14 Thread Akemi Yagi
On Thu, Aug 11, 2011 at 2:30 PM, Akemi Yagi wrote: > On Thu, Aug 11, 2011 at 2:17 PM, Matti Aarnio wrote: >> Hi, >> >> Could CentOS kernel keepers apply following patch on current kernel? >>    http://patchwork.ozlabs.org/patch/95785/ > > (snip) > >> Could this be applied on stock CentOS kernel s

[CentOS] Wireless Problem - no longer able to connect

2011-08-14 Thread Mark Weaver
Hi all, When I first loaded C6 on my Dell Inspiron laptop the wireless worked flawlessly right out of the box. At the time the wireless access point was a Linksys WAP54G using WPA-2 Personal. In the last two weeks that Access point has been replaced with a Linksys WAP610N, also using WPA-2 Per

Re: [CentOS] hardware isues

2011-08-14 Thread William Warren
On 8/14/2011 6:39 AM, lists-centos wrote: > did you add the broadcom card, or did it come installed? i'm > wondering if there's some type of conflict between it and the > onboard NICs. > > > Original Message >> Date: Saturday, August 13, 2011 11:29:25 PM -0400 >> From: Wi

Re: [CentOS] dovecot problem -- not deleting messages from server after downloading them - SOLVED

2011-08-14 Thread Alexander Dalloz
Am 14.08.2011 03:00, schrieb Charlie Brune: > I solved the problem by disabling SELinux. Not sure why that fixed it, > but it did make me dislike SELinux just a little bit more. LOL > > Regards, > Charlie That's hardly any kind of a solution. Check your audit.log for AVCs and troubleshoot why