From 13d38c3147fde8d8bd5d73076b85fa7fcea5ac15 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Thu, 17 Nov 2016 17:46:36 +0000 Subject: [PATCH] integrate-distro.sh: Remove ldap seed and syncing $ssh_auth_sock Signed-off-by: Jan Lindemann --- scripts/integrate-distro.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/integrate-distro.sh b/scripts/integrate-distro.sh index 1d69c2a9..3681f664 100644 --- a/scripts/integrate-distro.sh +++ b/scripts/integrate-distro.sh @@ -821,7 +821,7 @@ unmount_devices() local d for d in $devices; do check_mount $d && { - [ "$sync" -a -e $root$d ] && run $sync -f $root$d + [ "$sync" -a -e $root$d -a $d != $ssh_auth_sock ] && run $sync -f $root$d run umount $root$d } done @@ -1336,7 +1336,7 @@ cmd_install() # seed the ldap database # FIXME: this does not work off a netboot distro - slapcat | chroot $root /usr/sbin/slapadd -qw + #slapcat | chroot $root /usr/sbin/slapadd -qw fi # test