-bind-common() {
- src=$1
- dst=$2
- if [[ ! -e $dst && -e $src ]]; then
- mkdir -p $dst
- mount -o bind $src $dst
- fi
-
-}
-bind-common $FAI/distro-install-common/shadow /q/root/shadow
-
-# todo, port this over to the arch install script.
-cp -rT $FAI/distro-install-common/p/c/machine_specific/$HOSTNAME/filesystem/etc/ssh /target/etc/ssh
-
-$FAI/distro-install-common/end