-apt-get update
-# all the dependencies except the dhcp server
-deps="$(apt-cache show fai-quickstart | grep ^Depends: |head -n 1|\
- sed -r 's/^Depends:|,|\|[^,]+|isc-dhcp-server//g')"
-to_install=(tar)
-for pkg in $deps; do
- dpkg -s $pkg &>/dev/null && continue ||:
- to_install+=($pkg)
- # just so we have a record.
- echo `date` $pkg >>/var/log/fai-manually-installed-packages.log
-done
-if [[ $to_install ]]; then
- apt-get -y install ${to_install[@]}
-fi
-