/packer-centos-azure

Template Packer for generate custom Image in Azure

Primary LanguageShellMIT LicenseMIT

Packer Centos Azure

Template Packer for generate custom Centos7 with Hardening image to use in Azure

Generate IMAGE

  • manual-vhd: Generate custom VHD based in centos7 => publish blob in storage => create image (genaralized)
  • marketplace: Generate custom VHD based in centos7 of the azure-marketplace => create image (genaralized)

How to Use

  • manual-vhd:
    • cd
    • $ /usr/local/packer build -var 'version=1.0' centos.json
    • $ . scripts/azure/vhd/deploy-vhd-azure.sh #to upload and create disk and VM Temp
    • $ . scripts/azure/vhd/make-image.sh # Get VM temp and convert in valid IMAGE type
  • marketplace
    • cd
    • $ /usr/local/packer build -var 'version=1.0' centos.json

Dependencies

References

Author

Bruno Gomes de Souza bruno@bgsouza.com StackShare