Browse Source

Disable ufw by commenting for now

lxd-local
Benoît S. 2 months ago
parent
commit
eddb1b0493
  1. 31
      setup-base.py

31
setup-base.py

@ -25,21 +25,22 @@ apt.upgrade(
name='Upgrade apt packages',
)
apt.packages(
name='Install ufw',
packages=['ufw'],
update=False,
)
server.shell(
name='Add ufw rules',
commands=['ufw limit 22'],
)
server.shell(
name='Enable ufw',
commands=['yes | ufw enable'],
)
# ufw disabled since no support for nftables and in a LAN
#apt.packages(
# name='Install ufw',
# packages=['ufw'],
# update=False,
#)
#
#server.shell(
# name='Add ufw rules',
# commands=['ufw limit 22'],
#)
#
#server.shell(
# name='Enable ufw',
# commands=['yes | ufw enable'],
#)
apt.packages(
name='Install packages',

Loading…
Cancel
Save