Skip to content

Commit 11b92f7

Browse files
author
gingerwizard
committed
Merge pull request elastic#45 from electrical/fix_acceptance
Fix Debian-8 for systemd
2 parents 4bea3e7 + 8a73736 commit 11b92f7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.kitchen.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,11 @@ platforms:
3636
- apt-get update
3737
- apt-get install -y -q ansible
3838
- apt-get install -y -q net-tools
39+
- sed -ri 's/^#?PermitRootLogin .*/PermitRootLogin yes/' /etc/ssh/sshd_config
40+
- sed -ri 's/^#?PasswordAuthentication .*/PasswordAuthentication yes/' /etc/ssh/sshd_config
41+
- sed -ri 's/^#?UsePAM .*/UsePAM no/' /etc/ssh/sshd_config
3942
use_sudo: false
43+
run_command: "/sbin/init"
4044
- name: centos-6
4145
driver_config:
4246
image: electrical/centos:6.4-1
@@ -129,4 +133,4 @@ suites:
129133
- plugin: elasticsearch/marvel
130134
version: latest
131135
provisioner:
132-
playbook: test/integration/multi.yml
136+
playbook: test/integration/multi.yml

0 commit comments

Comments
 (0)