From d203e025c92bb773d9ac6ffeef52e881251fdef8 Mon Sep 17 00:00:00 2001 From: Dale McDiarmid Date: Mon, 21 Dec 2015 13:39:36 +0000 Subject: [PATCH] Systemd test fixes as per committed by Electrical --- .kitchen.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.kitchen.yml b/.kitchen.yml index 95d4c7f..9918801 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