e828eefa86cf21f9ffaf3aaa2f21b8b4dec40369
[automated-distro-installer] / fai / config / hooks / updatebase.DEBIAN
1 #! /bin/bash
2
3 if [ -n "$APTPROXY" ]; then
4 echo "Acquire::http::Proxy \"$APTPROXY\";" > $target/etc/apt/apt.conf.d/02proxy
5 else
6 rm -f $target/etc/apt/apt.conf.d/02proxy
7 fi
8
9 echo force-unsafe-io > $target/etc/dpkg/dpkg.cfg.d/unsafe-io
10
11 # you may want to add i386 arch to amd64 hosts
12 # if ifclass AMD64; then
13 # $ROOTCMD dpkg --add-architecture i386
14 # fi