https://github.com/adamrushuk/packer-templates
Packer Template examples
https://github.com/adamrushuk/packer-templates
packer packer-template packer-vagrant vagrant windows
Last synced: 3 months ago
JSON representation
Packer Template examples
- Host: GitHub
- URL: https://github.com/adamrushuk/packer-templates
- Owner: adamrushuk
- License: mit
- Created: 2018-02-04T11:16:02.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-06-25T12:05:57.000Z (about 6 years ago)
- Last Synced: 2025-05-03T13:40:52.084Z (about 1 year ago)
- Topics: packer, packer-template, packer-vagrant, vagrant, windows
- Language: PowerShell
- Homepage: https://adamrushuk.github.io/packer-example-windows/
- Size: 57.6 KB
- Stars: 12
- Watchers: 5
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Packer-Templates
Packer Template examples to accompany
[https://adamrushuk.github.io/packer-example-windows/](https://adamrushuk.github.io/packer-example-windows/)
## Azure Windows Image
To create an example Azure Windows image, complete the following steps:
1. Set required values in variables section of `azure-windows-2012r2.json`
1. Run commands in `Scripts\azure-prep.ps1` to:
1. Login to Azure
1. Create a Service Principle for Packer
1. Set Azure environment variables
1. Create a Resource Group for VM image
1. Run `.\Invoke-Packer.ps1 -Path "azure-windows-2012r2.json"`
## Azure Ubuntu Image
To create an example Azure Ubuntu image, complete the following steps:
1. Set required values in variables section of `azure-ubuntu.json`
1. Run commands in `Scripts\azure-prep.ps1` to:
1. Login to Azure
1. Create a Service Principle for Packer
1. Set Azure environment variables
1. Create a Resource Group for VM image
1. Run `.\Invoke-Packer.ps1 -Path "azure-ubuntu.json"`