the yum repository is left. This is useful if you want to run further
yum commands inside the filesystem by hand.
+=item B<-p "proxyurl">
+
+=item B<--proxy="proxyurl">
+
+URL to the proxy server that yum should use.
+
=back
=head1 REPOSITORIES
# Written by Richard W.M. Jones <rjones@redhat.com>
TEMP=`getopt \
- -o g:i: \
- --long groupinstall:,group-install:,help,install:,noclean,no-clean \
+ -o g:i:p: \
+ --long groupinstall:,group-install:,help,install:,noclean,no-clean,proxy: \
-n febootstrap -- "$@"`
if [ $? != 0 ]; then
echo "febootstrap: problem parsing the command line arguments"
-i|--install)
packages[i++]="$2"
shift 2;;
+ -p|--proxy)
+ proxy="proxy=$2"
+ shift 2;;
--groupinstall|--group-install)
packages[i++]="@$2"
shift 2;;
failovermethod=priority
enabled=1
gpgcheck=0
+$proxy
__EOF__
# "Mirror" parameter is a bit misnamed, but it means a local mirror,