blob: 29546d78a45694f9957498c22496b197d4091de9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
import archinstall
# Define the package list in order for lib to source
# which packages will be installed by this profile
__packages__ = ["postgresql"]
archinstall.storage['installation_session'].add_additional_packages(__packages__)
archinstall.storage['installation_session'].arch_chroot("initdb -D /var/lib/postgres/data", runas='postgres')
archinstall.storage['installation_session'].enable_service('postgresql')
|