Skip to content

bgsouza/packer-centos-azure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 [email protected] StackShare

About

Template Packer for generate custom Image in Azure

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages