DevOps Classroom Series – Packer – 05/Jan/2020

Azure VM Image from Packer

Manual Creation

  • Create Resource Group
  • Create a VM with some source image (ubuntu)
  • SSH into the machine and execute
sudo apt-get update
sudo apt-get install openjdk-8-jdk -y
sudo apt-get install tomcat8 -y

Using Packer

Variables

  • Environment Variables:
    • Define environment variable in your system and then to use it {{env `PATH`}}

Useful Functions in Packer

By continuous learner

devops & cloud enthusiastic learner

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Animated Social Media Icons by Acurax Responsive Web Designing Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube