Open alternative SSH port on KVM hosts
This commit is contained in:
parent
eabb6ab404
commit
ac1414e24e
@ -24,3 +24,9 @@ cookbook_file "/usr/local/sbin/create_vm" do
|
|||||||
source "create_vm"
|
source "create_vm"
|
||||||
mode "0750"
|
mode "0750"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
firewall_rule 'ssh-alt-port' do
|
||||||
|
port [2222]
|
||||||
|
protocol :tcp
|
||||||
|
command :allow
|
||||||
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user