Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand All @@ -50,7 +54,8 @@ SSH in to your lab instance by running and entering the provided password:

ssh lab@<lab-ip-address> -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

Expand Down
6 changes: 3 additions & 3 deletions terraform.tfvars.sample
Original file line number Diff line number Diff line change
@@ -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"