|
@@ -1,20 +1,20 @@
|
|
|
# Packer Notes
|
|
|
|
|
|
-https://packer.io/
|
|
|
+[HashiCorp Packer](https://packer.io/)
|
|
|
Used to create the AWS AMI. Packer is run on your local laptop.
|
|
|
|
|
|
-The Makefile is used to document the different images that you are able to build. Make doesn't provide any parts of the build process, just convience.
|
|
|
+The `Makefile` is used to document the different images that you are able to build. Make doesn't provide any parts of the build process, just convenience.
|
|
|
|
|
|
-Packer is required to partition the hard drives out before ec2 launch.
|
|
|
+`Packer` is required to partition the hard drives out before ec2 launch.
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
-username: centos
|
|
|
-key in vault called msoc-build
|
|
|
+username: `centos`
|
|
|
+key in Vault called `msoc-build`
|
|
|
|
|
|
-to run through a new build use the make command.
|
|
|
+to run through a new build use the `make` command.
|
|
|
|
|
|
-See the README.md in the packer/README.md
|
|
|
+See the `README.md` in the [Packer/README.md](https://github.xdr.accenturefederalcyber.com/mdr-engineering/msoc-infrastructure/blob/develop/packer/README.md)
|
|
|
|
|
|
```
|
|
|
make aws-test
|
|
@@ -23,8 +23,8 @@ AWS_PROFILE=mdr-test packer build -on-error=ask -only=master -var-file=rhel7_har
|
|
|
```
|
|
|
|
|
|
## Troubleshooting Help
|
|
|
-Add --debug to pause execution at each stage
|
|
|
-add --on-error=ask
|
|
|
+Add --debug to pause execution at each stage
|
|
|
+Add --on-error=ask
|
|
|
|
|
|
-Having issues with the RHEL subscription manager in TEST? switch it to the prod one.
|
|
|
+Having issues with the RHEL subscription manager in TEST? Switch it to the prod one.
|
|
|
|