diff options
author | baigk <baiguoku@huawei.com> | 2015-11-05 19:58:11 -0800 |
---|---|---|
committer | baigk <baiguoku@huawei.com> | 2015-11-16 07:02:58 +0000 |
commit | af648efb423681eecef87863f974466b59f43226 (patch) | |
tree | b6e94bd50ec46af0bdf91bbf2ae4343ab2c8bb27 | |
parent | e28554faea569b5e6d15b3816df702e664b5bba4 (diff) |
don't use dns on installed machine
JIRA: COMPASS-139
Change-Id: Iebd7b6f33bb544429383b8b236db101465638e22
Signed-off-by: baigk <baiguoku@huawei.com>
-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 |