Example config from 5.9
[fai-config.git] / hooks / updatebase.DEBIAN
blobe828eefa86cf21f9ffaf3aaa2f21b8b4dec40369
1 #! /bin/bash
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
9 echo force-unsafe-io > $target/etc/dpkg/dpkg.cfg.d/unsafe-io
11 # you may want to add i386 arch to amd64 hosts
12 # if ifclass AMD64; then
13 # $ROOTCMD dpkg --add-architecture i386
14 # fi