mirror of
https://github.com/jbowdre/vsphere-k8s.git
synced 2024-11-21 23:52:18 +00:00
Compare commits
2 commits
a5bc6db0b5
...
c2dc069959
Author | SHA1 | Date | |
---|---|---|---|
c2dc069959 | |||
4267023621 |
2 changed files with 4 additions and 2 deletions
|
@ -4,9 +4,11 @@
|
||||||
1. `cd packer`.
|
1. `cd packer`.
|
||||||
2. Copy `linux-server.example.pkrvars.hcl` to `linux-server.auto.pkrvars.hcl` and update it as appropriate for your environment.
|
2. Copy `linux-server.example.pkrvars.hcl` to `linux-server.auto.pkrvars.hcl` and update it as appropriate for your environment.
|
||||||
2. Put the SSH private key which corresponds to the `build_key` variable in `packer_cache/ssh_private_key_packer.pem`.
|
2. Put the SSH private key which corresponds to the `build_key` variable in `packer_cache/ssh_private_key_packer.pem`.
|
||||||
3. Run it with `packer build -on-error=abort -force .`.
|
3. Place any needed internal CA PEM-formatted certs (with `.cer` file extension) in `certs/`.
|
||||||
|
4. Run it with `packer build -on-error=abort -force .`.
|
||||||
|
|
||||||
## Terraform
|
## Terraform
|
||||||
1. `cd terraform`.
|
1. `cd terraform`.
|
||||||
2. Copy `terraform.example.tfvars` to `terraform.auto.tfvars` and update it as appropriate for your environment.
|
2. Copy `terraform.example.tfvars` to `terraform.auto.tfvars` and update it as appropriate for your environment.
|
||||||
3. Run it with `terraform apply`.
|
3. Initialize Terraform: `terraform init`.
|
||||||
|
3. Create the deployment with `terraform apply`.
|
0
packer/certs/.gitkeep
Normal file
0
packer/certs/.gitkeep
Normal file
Loading…
Reference in a new issue