Re: [CentOS] /etc/gai.conf fails to prefer IPv4 over IPv6 for NFS

2018-06-09 Thread Gordon Messmer
On 06/09/2018 07:51 AM, Steve Rikli wrote: I had hopes for gai.conf as the more universal solution, but apparently it's not useable here. gai.conf works as intended for most applications, here.  For example, if I uncomment the block of "precedence" lines, and swap between "10" and "100" for

Re: [CentOS] /etc/gai.conf fails to prefer IPv4 over IPv6 for NFS

2018-06-09 Thread Steve Rikli
In article , Gordon Messmer wrote: >On 06/08/2018 03:23 PM, Steve Rikli wrote: >> >> This seems the most likely explanation, I'd just like to know for certain >> before I give up on gai.conf and restort to disabling IPv6 or other >> workarounds (e.g. /etc/nfsmount.conf). > >Have you tried specify

Re: [CentOS] Custom ISO With Post Installation Scripts

2018-06-09 Thread Earl Ramirez
On Sat, 2018-06-09 at 15:10 +0200, Ulf Volmer wrote: > On 09.06.2018 14:48, Earl Ramirez wrote: > > > # copy scripts to the destintion of the server > > cp -v $SRCDIR/postinstall/script1.sh > > > $DSTDIR/etc/rc.d/rc.local/script1.sh > > are you sure about this line? rc.local must be a file, not a

Re: [CentOS] Custom ISO With Post Installation Scripts

2018-06-09 Thread Ulf Volmer
On 09.06.2018 14:48, Earl Ramirez wrote: > # copy scripts to the destintion of the server > cp -v $SRCDIR/postinstall/script1.sh > $DSTDIR/etc/rc.d/rc.local/script1.sh are you sure about this line? rc.local must be a file, not a directory. best regards Ulf ___

[CentOS] Custom ISO With Post Installation Scripts

2018-06-09 Thread Earl Ramirez
Dear All I have been working on a custom ISO with kickstart and a couple of post installation scripts and would like to have the script run before the login prompt. The custom ISO works; however, the scripts fails because some of the services, e.g. mariadb does not start before the server install

Re: [CentOS] rpmbuild --define | some rpm sorcerer around?

2018-06-09 Thread Phil Perry
On 08/06/18 22:54, lejeczek wrote: On 08/06/18 19:38, Phil Perry wrote: On 08/06/18 15:54, lejeczek wrote: hi how do you pass vars to rpmbuild for definition? eg rpmbuild --define \'"${_definition2}"\' I've been fiddling with ways to escape, but none is fricking working.. I mean, rpmbuild