-dir=/q/root/shadow
-fai_shadow=$FAI/distro-install-common/shadow
-if [[ ! -e $dir && -e $fai_shadow ]]; then
- mkdir -p $dir
- mount -o bind $fai_shadow $dir
-fi
-$FAI/distro-install-common/end
-
-if ifclass STABLE || ifclass LINODESTABLE; then
- fcopy -M /etc/apt/preferences
-fi
-
-if ifclass DEBIAN; then
- fcopy -M /etc/apt/preferences.d/unstable
-fi
-fcopy -riM /etc/apt/sources.list.d
-$ROOTCMD apt-get update