oracle: fix SSH tasks

Add common group "ssh_group" (which disables password authentication,
etc.) and disable root login.
This commit is contained in:
Tiago Ilieve 2016-01-29 10:14:21 -02:00
parent 2219e23ae4
commit c7a7b523cf

View file

@ -16,14 +16,12 @@ def validate_manifest(data, validator, error):
def resolve_tasks(taskset, manifest):
taskset.update(task_groups.get_standard_groups(manifest))
taskset.update(task_groups.ssh_group)
taskset.update([loopback.AddRequiredCommands,
loopback.Create,
initd.InstallInitScripts,
ssh.AddOpenSSHPackage,
ssh.ShredHostkeys,
ssh.AddSSHKeyGeneration,
image.MoveImage,
ssh.DisableRootLogin,
volume.Delete,
tasks.image.CreateImageTarball,
tasks.network.InstallDHCPCD,