Use YUM_OPTS var
Sometimes is useful to add custom args to yum without modifing script. I.e. --setopt=miltilib_policy=best or --enablerepo=
This commit is contained in:
parent
1936be2cc3
commit
640b86b0b2
@ -50,7 +50,7 @@ fi
|
||||
mount -t proc proc mnt/proc
|
||||
PKGGROUPS=$(cat $PKGLISTFILE)
|
||||
echo "-> Installing package groups..."
|
||||
yum install -y --installroot=$INSTALLDIR $PKGGROUPS || RETCODE=1
|
||||
yum install $YUM_OPTS -y --installroot=$INSTALLDIR $PKGGROUPS || RETCODE=1
|
||||
|
||||
umount mnt/proc mnt
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user