Open alternative SSH port on KVM hosts

This commit is contained in:
Basti 2022-03-22 16:24:14 -06:00
parent eabb6ab404
commit ac1414e24e
1 changed files with 6 additions and 0 deletions

View File

@ -24,3 +24,9 @@ cookbook_file "/usr/local/sbin/create_vm" do
source "create_vm"
mode "0750"
end
firewall_rule 'ssh-alt-port' do
port [2222]
protocol :tcp
command :allow
end