[CentOS] Custom ISO With Post Installation Scripts

Sat Jun 9 13:14:58 UTC 2018
Earl Ramirez <earlaramirez at gmail.com>

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
> directory.
> 
> best regards
> Ulf

Thanks Ulf

That was a typo on the email

cp -v $SRCDIR/postinstall/snipeit.sh $DSTDIR/etc/rc.d/rc.local

# Make scripts executable
chmod +x $DSTDIR/etc/rc.d/rc.local


-- 
Earl Ramirez <earlaramirez at gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20180609/9f9b5449/attachment-0004.sig>