summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/cobbler/kickstarts/default.seed
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/adapters/cobbler/kickstarts/default.seed')
-rw-r--r--deploy/adapters/cobbler/kickstarts/default.seed2
1 files changed, 2 insertions, 0 deletions
diff --git a/deploy/adapters/cobbler/kickstarts/default.seed b/deploy/adapters/cobbler/kickstarts/default.seed
index 7461f83d..64be15ab 100644
--- a/deploy/adapters/cobbler/kickstarts/default.seed
+++ b/deploy/adapters/cobbler/kickstarts/default.seed
@@ -132,6 +132,8 @@ d-i cdrom-detect/eject boolean false
# packages and run commands in the target system.
# d-i preseed/late_command string [command]
d-i preseed/late_command string \
+in-target sed -i '$a UseDNS no' /etc/ssh/sshd_config; \
+in-target sed -i 's/.*GSSAPIAuthentication.*/GSSAPIAuthentication no/g' /etc/ssh/sshd_config; \
wget -O- \
http://$http_server/cblr/svc/op/script/$what/$name/?script=preseed_late_default | \
chroot /target /bin/sh -s; cp /target/etc/network/interfaces /etc/network/interfaces