Creating A Linux VM

From PS:1 Wiki Dev
Revision as of 23:36, 23 March 2026 by Muirrum (talk | contribs) (Created page with "== tl;dr == Use Ansible to do most of the setup, in https://github.com/pumpingstationone/gitops. Ask User:Muirrum for assistance. The goal is for this process to be fully automated. The only part that should be manual at this point is domain-joining the box. == Active Directory == Virtual machines should be joined to Active Directory. You will need * Root access to the VM * An AD account with permission to domain-join machines Install these packages on the Debia...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

tl;dr

Use Ansible to do most of the setup, in https://github.com/pumpingstationone/gitops. Ask User:Muirrum for assistance. The goal is for this process to be fully automated. The only part that should be manual at this point is domain-joining the box.

Active Directory

Virtual machines should be joined to Active Directory. You will need

  • Root access to the VM
  • An AD account with permission to domain-join machines

Install these packages on the Debian VM:

sudo apt install realmd packagekit sssd sssd-tools libnss-sss libpam-sss adcli

Then, check for the PS:1 AD domain:

sudo realm discover ad.pumpingstationone.org

Join the realm:

sudo realm join ad.pumpingstationone.org --user <your administrative AD account> 

Ensure that completed successfully. Then, restrict logins with by editing /etc/sssd/sssd.conf. Look for the line that says access_provider=ad, and change it to:

access_provider=simple
simple_allow_groups=<your comma separated list of groups>