feat: create sysadmin on firstrun

- prevent packages from using uid 1000
This commit is contained in:
Ben Vincent 2024-12-09 21:50:53 +11:00
parent afbc15ff40
commit 2ebbfd4ba7
2 changed files with 3 additions and 1 deletions

View File

@ -28,7 +28,6 @@ class profiles::base (
include profiles::base::hosts include profiles::base::hosts
include profiles::base::groups include profiles::base::groups
include profiles::base::root include profiles::base::root
include profiles::accounts::sysadmin
include profiles::ntp::client include profiles::ntp::client
include profiles::dns::base include profiles::dns::base
include profiles::pki::vault include profiles::pki::vault

View File

@ -12,6 +12,9 @@ class profiles::firstrun::init {
include profiles::base::facts include profiles::base::facts
include profiles::base::motd include profiles::base::motd
# create the sysadmin account
include profiles::accounts::sysadmin
# mark the firstrun as done # mark the firstrun as done
include profiles::firstrun::complete include profiles::firstrun::complete