From 8a737365ff2468a95681f6d49012f24a4831142f Mon Sep 17 00:00:00 2001 From: Richard Pijnenburg Date: Mon, 21 Dec 2015 14:05:00 +0100 Subject: [PATCH] Fix Debian-8 for systemd --- .kitchen.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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