mohanpedala / azure-image-build

Build azure images using packer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Azure create linux VM image using packer

Set Environment Variables

  • Set the Environment Variables in your bash/zsh profile as shown below

    export CLIENT_ID=**********
    export CLIENT_SECRET=**********
    export TENANT_ID=**********
    export SUBSCRIPTION_ID=**********

    Note replace the * with your appropritate values.

  • Run the below command to build the image

    $ packer build ubuntu-hardening.json

About

Build azure images using packer


Languages

Language:Shell 100.0%