vars: suse-42: Enable the sshd service on SUSE

systemd services are not automatically enabled on openSUSE. Moreover,
the lxc-ci commit 8dc7105399350a59698538a12b6d5a1a880ef2ba[1] masked
the sshd service on the openSUSE containers. As such, we need to unmask
it and enabled the sshd service so we can ssh to the container.

[1]: 8dc7105399

Change-Id: Idb70259bad1058d5f41e7dfe5a58900149c49b49
This commit is contained in:
Markos Chandras 2017-04-28 13:00:28 +01:00
parent 3c1d9100a3
commit f72817fc08

View File

@ -63,6 +63,10 @@ lxc_cache_map:
else
rm -f /etc/resolv.conf
fi
# NOTE(hwoarang): Enable sshd which has been explicitely disabled in
# https://github.com/lxc/lxc-ci/commit/8dc7105399350a59698538a12b6d5a1a880ef2ba
systemctl -q unmask sshd
systemctl -q enable sshd
{{ lxc_cache_prep_post_commands }}
lxc_cache_distro_packages: