Post install bootstrap (via puppet). Just enough to get things into a state where puppet can install the rest of the system.

Mark George authored on 4 Jul 2023
environments/ production Don't run puppet until after reboot. 3 years ago
.gitignore Initial commit 3 years ago
README.md Initial commit 3 years ago
bootstrap.sh Sometimes the sources.list is broken after install, so fix that. 1 year ago
README.md

Post-install bootstrap

A minimal post-install configuration that gets a lab machine into a state where puppet can take it the rest of the way for full install.

Currently performs the following operations:

  • Clones this repo into /tmp/bootstrap
  • Prompts for and sets hostname.
  • Installs and configures realmd.
  • Installs and configures sssd.
  • Configures puppet to use sbis-puppet as master.
  • Joins the STUDENT domain.

Most of the configiuration is provided via the puppet scripts in this repo.

Requires a file named domain_sekrit that is not part of this repo. This file should contain 3 lines as follows:

domain_join_user_name@FULLY.QUALIFIED.DOMAIN.NAME
fully.qualified.domain.to.join
domain_join_user's password

Note the capitalisation.

Usage

  1. Make a copy of the bootstrap.sh file in the repo, and add to CIDATA volume of install UFD.
  2. Add a valid domain_sekrit file to the same location as the above script.
  3. Install Ubuntu.
  4. Mount the CIDATA volume of the install UFD.
  5. Run the bootstrap.sh script.