Last active
May 9, 2019 00:53
-
-
Save Smithx10/cb23deae609c2af5aafc06f697970bf3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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