ASInstaller/profiles/applications/nginx.py

10 lines
301 B
Python
Raw Normal View History

2022-10-31 14:49:48 +08:00
import archinstall
# Define the package list in order for lib to source
# which packages will be installed by this profile
__packages__ = ["nginx"]
archinstall.storage['installation_session'].add_additional_packages(__packages__)
archinstall.storage['installation_session'].enable_service('nginx')