From 640b86b0b202d0a46795baed3b9e0c8e67165520 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Mon, 26 Sep 2011 01:19:54 +0200 Subject: [PATCH] Use YUM_OPTS var Sometimes is useful to add custom args to yum without modifing script. I.e. --setopt=miltilib_policy=best or --enablerepo= --- fedorize_image | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fedorize_image b/fedorize_image index 35c82c3..27b2eef 100755 --- a/fedorize_image +++ b/fedorize_image @@ -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