Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Updated versions, added tag variables and updated java/nomad installation #37

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

stenio123
Copy link

  • Need to review Packer file for Ubuntu, Java and Docker not being installed

Copy link
Collaborator

@brikis98 brikis98 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR!

How did you test it?

"consul_module_version": "v0.3.1",
"consul_version": "1.0.3"
"nomad_version": "0.8.6",
"consul_module_version": "master",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We probably should use a specific tag rather than master, as we occasionally have to make backwards incompatible changes (e.g., Terraform 0.12 is coming!).

sudo apt-get update
apt-cache policy docker-ce
# Desired Nomad drivers - Docker and Java
sudo apt install docker.io -y
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

apt often has very out of date versions of Docker. The original option is what the official Docker documentation recommends for Ubuntu, so we should stick with it.


sudo apt-get install -y docker-ce
sudo usermod -a -G docker ubuntu
sudo apt install -y default-jdk
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need to install Java?

@hashicorp-cla
Copy link

hashicorp-cla commented Mar 12, 2022

CLA assistant check
All committers have signed the CLA.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants