Re: [CentOS] Custom ISO

2020-05-06 Thread Jerry Geis
Looks like the issue was with the set -l 'CentOS 7 x86-64' in the grub.cfg file. It needed to match my changed name. Looking good now. Jerry ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Custom ISO

2020-05-06 Thread Mauricio Tavares
On Wed, May 6, 2020 at 9:41 AM Jerry Geis wrote: > > Sorry I get it \x20 is a space and then "7" then \x20 is another space. > I like underscores > Jerry > ___ > CentOS mailing list > CentOS@centos.org > https://lists.centos.org/mailman/listinfo/c

Re: [CentOS] Custom ISO

2020-05-06 Thread Jerry Geis
Sorry I get it \x20 is a space and then "7" then \x20 is another space. Jerry ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Custom ISO

2020-05-06 Thread Jerry Geis
What is the \x207 ?? and the \x20 ?? on this line ? inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 Jerry ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Custom ISO

2020-05-06 Thread Jerry Geis
Thanks for hint. I have changed to this: genisoimage \ -v \ -J -R \ -V "$NAME" \ -b isolinux/isolinux.bin -no-emul-boot -boot-load-size 4 \ -boot-info-table -eltorito-alt-boot -b images/efiboot.img -no-emul-boot -boot-load-size 18755 \ -o $DESTINATIO

[CentOS] Custom ISO

2020-05-05 Thread Jerry Geis
Hi All, I am trying to make a customer ISO. When I run this command: mkisofs -o $DESTINATION_FILE -b isolinux/isolinux.bin -c boot.cat \ -no-emul-boot -boot-info-table \ -V "$NAME" -boot-load-size 4 -boot-info-table -R -J -v -T \ -eltorito-alt-boot -e images/efiboot.img \

Re: [CentOS] Custom ISO With Post Installation Scripts

2018-06-14 Thread Earl A Ramirez
> Hmm... > > I am doing this with a KS for C7 and my /etc/rc.d/rc.local script get > executed just fine on > boot up without doing anything other than putting it in /etc/rc.d/ > > # ls -al /etc/rc.d/ > total 72 > drwxr-xr-x 10 root root 4096 May 18 07:37 . > drwxr-xr-x 121 root root 12288 Jun

Re: [CentOS] Custom ISO With Post Installation Scripts

2018-06-14 Thread Steve Clark
On 06/14/2018 01:24 PM, Earl A Ramirez wrote: > On 11 June 2018 at 01:57, Prasad K wrote: > >> If your distro is using systemd then rc.local will not get executed by >> default. >> Enable rc-local.service : "systemctl enable rc-local.service". >> >> > Thanks, Prasad > > I tried that and unfortuna

Re: [CentOS] Custom ISO With Post Installation Scripts

2018-06-14 Thread Earl A Ramirez
On 11 June 2018 at 01:57, Prasad K wrote: > If your distro is using systemd then rc.local will not get executed by > default. > Enable rc-local.service : "systemctl enable rc-local.service". > > Thanks, Prasad I tried that and unfortunately, that service did not start after the server was reboo

Re: [CentOS] Custom ISO With Post Installation Scripts

2018-06-10 Thread Prasad K
If your distro is using systemd then rc.local will not get executed by default. Enable rc-local.service : "systemctl enable rc-local.service". Regards, Prasad On 9 June 2018 at 18:18, Earl Ramirez wrote: > Dear All > > I have been working on a custom ISO with kickstart and a couple of post > i

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] Custom ISO based on kickstart

2015-04-14 Thread Artifex Maximus
On Tue, Apr 14, 2015 at 8:14 AM, Kahlil Hodgson wrote: > The fedora spins SIG > https://fedoraproject.org/wiki/Spins_SIG?rd=SIGs/Spins > created/assembled a whole bunch of tools for doing just that. I used > such machinery to do pretty much the same as what you are a number of > years ago. I think

Re: [CentOS] Custom ISO based on kickstart

2015-04-13 Thread Kahlil Hodgson
The fedora spins SIG https://fedoraproject.org/wiki/Spins_SIG?rd=SIGs/Spins created/assembled a whole bunch of tools for doing just that. I used such machinery to do pretty much the same as what you are a number of years ago. I think there was even graphical tool called 'revisor'. _

[CentOS] Custom ISO based on kickstart

2015-04-13 Thread Artifex Maximus
Hello! I would like to shrink my installation media restricted only to necessary packages based on my kickstart file. So I am looking for an application/script which select rpms and those dependencies based on a kickstart file. If just display them that is ok does not need to copy/download anythin