Skip to content

Commit

Permalink
use variable APTPROXY
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Lange committed Oct 16, 2015
1 parent de62034 commit 197cac6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bin/fai-make-nfsroot
Expand Up @@ -387,6 +387,11 @@ EOF

add_etc_hosts_entries

# use a proxy if variable is defined
if [ -n "$APTPROXY" ]; then
echo "Acquire::http::Proxy \"$APTPROXY\";" > $NFSROOT/etc/apt/apt.conf.d/02proxy
fi

[ "$verbose" ] && echo "Upgrading $NFSROOT"
LC_ALL=C call_verbose upgrade_nfsroot

Expand Down

0 comments on commit 197cac6

Please sign in to comment.