Skip to content

Instantly share code, notes, and snippets.

@Smithx10
Last active May 9, 2019 00:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Smithx10/cb23deae609c2af5aafc06f697970bf3 to your computer and use it in GitHub Desktop.
Save Smithx10/cb23deae609c2af5aafc06f697970bf3 to your computer and use it in GitHub Desktop.
tt inst create c193a558-1d63-11e9-97cf-97bb3ee5c14f sample-2G -N sdc_nat -n agent-test-1
go get -v github.com/hashicorp/nomad
cd go/src/github.com/hashicorp/nomad
git remote add smithx10 https://github.com/smithx10/nomad
git pull smithx10
git checkout neirac
go get -v ./...
go build -o nomad-illumos -v .
./nomad-illumos agent -dev -bind=0.0.0.0
config.hcl to register into a server on a remote machine.
[root@agent-test ~/go/src/github.com/hashicorp/nomad]# cat config.hcl
data_dir = "/var/lib/nomad"
client {
enabled = true
servers = ["10.45.136.115:4647"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment