Skip to content

Commit 3d8d105

Browse files
authored
Merge pull request #8 from stackhpc/update-docs
Update docs and sample to better explain the lab
2 parents 257d668 + 632e7d4 commit 3d8d105

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ containerised OpenStack to bare metal.
2525
After cloning this repo, source the regular OpenStack rc file with necessary
2626
vars for accessing the *A Universe From Nothing* lab project.
2727

28+
There are a various variables available for configuration. These can be seen
29+
in `vars.tf`, and can be set in `terraform.tfvars` (see sample file
30+
`terraform.tfvars.sample`).
31+
2832
Next up is the `terraform` bit assuming it is already installed:
2933

3034
terraform init
@@ -33,7 +37,7 @@ Next up is the `terraform` bit assuming it is already installed:
3337

3438
To reprovision a lab machine:
3539

36-
terraform taint packet_device.lab.#
40+
terraform taint openstack_compute_instance_v2.#
3741
terraform apply -auto-approve
3842

3943
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:
5054

5155
ssh lab@<lab-ip-address> -o PreferredAuthentications=password
5256

53-
It is recommeded that you run `passwd` immediately to change the default password.
57+
The default password is the id of the lab instance. As such, it is recommeded
58+
that you run `passwd` immediately to change the default password.
5459

5560
## Nested virtualisation
5661

terraform.tfvars.sample

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
lab_count = 6
2-
lab_net_ipv4 = aufn-ipv4-vlan
3-
lab_net_ipv6 = aufn-ipv6-vlan
4-
lab_prefix = aufn
2+
lab_net_ipv4 = "stackhpc-ipv4-vlan-v2"
3+
lab_prefix = "stackhpc"
4+
image_id = "set_me"

0 commit comments

Comments
 (0)