Rename template function

This commit is contained in:
VirtuBox
2019-09-23 16:35:20 +02:00
parent 907d1dc5f5
commit 782cb2e440
5 changed files with 42 additions and 39 deletions

View File

@@ -178,7 +178,7 @@ class WOSecureController(CementBaseController):
sudo_user = ''
data = dict(sshport=current_ssh_port, allowpass='no',
user=sudo_user)
WOTemplate.render(self, '/etc/ssh/sshd_config',
WOTemplate.deploy(self, '/etc/ssh/sshd_config',
'sshd.mustache', data)
WOGit.add(self, ["/etc/ssh"],
msg="Adding changed SSH port into Git")