From c7b8892edec101bde609f3a61d25d09717d99d9d Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 1 Sep 2023 15:41:56 -0400 Subject: [PATCH] Add additional details to README document --- README.md | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 19b1d68..4de87fc 100644 --- a/README.md +++ b/README.md @@ -4,22 +4,38 @@ This repository contains the generator and configurations for the PVC Live Node Installer ISO. This ISO provides a quick and convenient way to install a PVC base system to a physical server, ready to then be provisioned using the [PVC Ansible](https://github.com/parallelvirtualcluster/pvc-ansible) configuration framework. Part of the [Parallel Virtual Cluster system](https://github.com/parallelvirtualcluster/pvc). -## Using +## Using the PVC Installer -Run `./buildiso.sh`. This will pull down the Debian LiveCD image, extract it, debootstrap a fresh install environment, copy in the configurations, generate a squashfs, then finally generate an ISO for use via CD-ROM, Virtual Media, or USB/SDCard flash. +### Preparing + +1. Run `./buildiso.sh` from the root of the repository. This will pull down the Debian LiveCD image, extract it, debootstrap a fresh install environment, copy in the configurations, generate a squashfs, then finally generate an ISO file. Note that artifacts of the build (the LiveCD ISO, debootstrap directory, and squashfs) are cached in `artifacts/` for future reuse. -## Booting +2. Load the ISO via virtual media or write it to a USB drive. + +3. Boot the server from the ISO, ideally in UEFI mode. + +### Booting The built ISO can be booted in either BIOS (traditional ISOLinux) or UEFI (Grub2) modes. It is strongly recommended to use the latter if the system supports it for maximum flexibility. -## Installing +### Installing The installer script will ask several questions to configure the bare minimum system needed for [`pvc-ansible`](https://github.com/parallelvirtualcluster/pvc-ansible) to configure the node. Follow the prompts carefully; if you make a mistake, you can ^C to cancel the installer, then re-run via `/install.sh` from the resulting root shell. +## Command-line Flags + +`-o`: Set the name of the output file, instead of using the standard `pvc-installer_.iso`. + +`-s`: Specify an alternate Debian Live ISO source/mirror. + +`-a`: Use the cached `squashfs` artifact for the build if possible. + +`-u`: Use this name for the initial user account (default is `deploy`). + ## License Copyright (C) 2018-2021 Joshua M. Boniface