aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters
diff options
context:
space:
mode:
authorshuai chen <chenshuai@huawei.com>2015-11-16 15:43:41 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2015-11-16 15:43:42 +0000
commitbc68ab08a3c3d4058a798ba59eafae6126ffd3e4 (patch)
treedfefe7d787986ad849254b16970acb16e1113adf /deploy/adapters
parentc3eb0aa24e4c4697f446f69b86a9cb159734e5f2 (diff)
parentaf648efb423681eecef87863f974466b59f43226 (diff)
Merge "don't use dns on installed machine"
Diffstat (limited to 'deploy/adapters')
-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