mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 07:26:29 +00:00
DisableRootLogin now runs after package install
Also adjusted the wording of the description
This commit is contained in:
parent
91cff897c8
commit
ba1db3b737
1 changed files with 3 additions and 1 deletions
|
@ -3,6 +3,7 @@ from common import phases
|
|||
from common.tasks.packages import ImagePackages
|
||||
from common.tasks.host import CheckPackages
|
||||
from common.tasks.initd import InstallInitScripts
|
||||
from plugins.packages.tasks import InstallRemotePackages
|
||||
import os
|
||||
|
||||
|
||||
|
@ -55,8 +56,9 @@ class AdminUserCredentials(Task):
|
|||
|
||||
|
||||
class DisableRootLogin(Task):
|
||||
description = 'Disable SSH login for root'
|
||||
description = 'Disabling SSH login for root'
|
||||
phase = phases.system_modification
|
||||
predecessors = [InstallRemotePackages]
|
||||
|
||||
def run(self, info):
|
||||
from subprocess import CalledProcessError
|
||||
|
|
Loading…
Add table
Reference in a new issue