Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
seanlongcc committed Jun 21, 2024
1 parent 4246c64 commit 6426adc
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,23 +93,27 @@ mongo_superusers:
packer init .
```

8. **Build the Hardened Image**
8. **Update `variables.pkrvar.hcl` for Packer Variables**

Update the `variables.pkrvar.hcl` with your variables for `mongo-validate.pkr.hcl`

9. **Build the Hardened Image**

Execute the following command to build and save the hardened Mongo image:

```sh
packer build mongo-hardening.pkr.hcl
```

9. **Validate the Hardened Image**
10. **Validate the Hardened Image**

Execute the following command to test the hardened Mongo image:
Execute the following command to test the hardened Mongo image:

```sh
packer build mongo-validate.pkr.hcl
```
```sh
packer build -var-file="variables.pkrvar.hcl" mongo-validate.pkr.hcl
```

10. **Run the Hardened Image**
11. **Run the Hardened Image**

Execute the following command to run the hardened Mongo image:

Expand Down

0 comments on commit 6426adc

Please sign in to comment.