diff options
author | shuai chen <chenshuai@huawei.com> | 2015-11-16 15:43:41 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2015-11-16 15:43:42 +0000 |
commit | bc68ab08a3c3d4058a798ba59eafae6126ffd3e4 (patch) | |
tree | dfefe7d787986ad849254b16970acb16e1113adf | |
parent | c3eb0aa24e4c4697f446f69b86a9cb159734e5f2 (diff) | |
parent | af648efb423681eecef87863f974466b59f43226 (diff) |
Merge "don't use dns on installed machine"
-rw-r--r-- | deploy/adapters/cobbler/kickstarts/default.seed | 2 |
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 |