don't use dns on installed machine 91/3091/5
authorbaigk <baiguoku@huawei.com>
Fri, 6 Nov 2015 03:58:11 +0000 (19:58 -0800)
committerbaigk <baiguoku@huawei.com>
Mon, 16 Nov 2015 07:02:58 +0000 (07:02 +0000)
JIRA: COMPASS-139

Change-Id: Iebd7b6f33bb544429383b8b236db101465638e22
Signed-off-by: baigk <baiguoku@huawei.com>
deploy/adapters/cobbler/kickstarts/default.seed

index 7461f83..64be15a 100644 (file)
@@ -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