diff --git a/.kitchen.yml b/.kitchen.yml index 95d4c7f..2c48367 100644 --- a/.kitchen.yml +++ b/.kitchen.yml @@ -36,7 +36,11 @@ platforms: - apt-get update - apt-get install -y -q ansible - apt-get install -y -q net-tools + - sed -ri 's/^#?PermitRootLogin .*/PermitRootLogin yes/' /etc/ssh/sshd_config + - sed -ri 's/^#?PasswordAuthentication .*/PasswordAuthentication yes/' /etc/ssh/sshd_config + - sed -ri 's/^#?UsePAM .*/UsePAM no/' /etc/ssh/sshd_config use_sudo: false + run_command: "/sbin/init" - name: centos-6 driver_config: image: electrical/centos:6.4-1 @@ -129,4 +133,4 @@ suites: - plugin: elasticsearch/marvel version: latest provisioner: - playbook: test/integration/multi.yml \ No newline at end of file + playbook: test/integration/multi.yml