1234567891011121314151617181920212223242526272829 |
- Used to create the AWS AMI. run this on your local laptop. Part of the process is on the local laptop and part is in AWS.
- https://packer.io/
- create a symlink to the DVD iso so Git doesn't try to commit it.
- the Makefile is used to document the different images that you are trying to build.
- make
- Packer is required to partition the hard drives out before ec2 launch.
- username: centos
- key in vault called msoc-build
- to run through a new build use the make command.
- make aws-test
- AWS_PROFILE=mdr-test packer build -on-error=ask -only=master -var-file=rhel7_hardened_variables_test.json rhel7_hardened_multi_ami.json
- AWS_PROFILE=mdr-test packer build -on-error=ask -debug -only=master -var-file=rhel7_hardened_variables_test.json rhel7_hardened_multi_ami.json
- ----------------------
- Troubleshooting Help
- 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.
|