Fix Debian-8 for systemd

This commit is contained in:
Richard Pijnenburg 2015-12-21 14:05:00 +01:00
parent 4bea3e713b
commit 8a737365ff

View file

@ -36,7 +36,11 @@ platforms:
- apt-get update - apt-get update
- apt-get install -y -q ansible - apt-get install -y -q ansible
- apt-get install -y -q net-tools - 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 use_sudo: false
run_command: "/sbin/init"
- name: centos-6 - name: centos-6
driver_config: driver_config:
image: electrical/centos:6.4-1 image: electrical/centos:6.4-1