From 632e7d47c60b9e05f09cd588deadbe76be853e39 Mon Sep 17 00:00:00 2001 From: Matt Crees Date: Tue, 21 Mar 2023 11:43:03 +0000 Subject: [PATCH] Update docs and sample to better explain the lab --- README.md | 9 +++++++-- terraform.tfvars.sample | 6 +++--- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c03881b..4c3bd3d 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,10 @@ containerised OpenStack to bare metal. After cloning this repo, source the regular OpenStack rc file with necessary vars for accessing the *A Universe From Nothing* lab project. +There are a various variables available for configuration. These can be seen +in `vars.tf`, and can be set in `terraform.tfvars` (see sample file +`terraform.tfvars.sample`). + Next up is the `terraform` bit assuming it is already installed: terraform init @@ -33,7 +37,7 @@ Next up is the `terraform` bit assuming it is already installed: To reprovision a lab machine: - terraform taint packet_device.lab.# + terraform taint openstack_compute_instance_v2.# terraform apply -auto-approve where `#` is the lab index which can be obtained from the web UI. @@ -50,7 +54,8 @@ SSH in to your lab instance by running and entering the provided password: ssh lab@ -o PreferredAuthentications=password -It is recommeded that you run `passwd` immediately to change the default password. +The default password is the id of the lab instance. As such, it is recommeded +that you run `passwd` immediately to change the default password. ## Nested virtualisation diff --git a/terraform.tfvars.sample b/terraform.tfvars.sample index bf34120..20cc53a 100644 --- a/terraform.tfvars.sample +++ b/terraform.tfvars.sample @@ -1,4 +1,4 @@ lab_count = 6 -lab_net_ipv4 = aufn-ipv4-vlan -lab_net_ipv6 = aufn-ipv6-vlan -lab_prefix = aufn +lab_net_ipv4 = "stackhpc-ipv4-vlan-v2" +lab_prefix = "stackhpc" +image_id = "set_me"