Add omv support

This commit is contained in:
James Shubin
2015-09-25 12:47:18 -04:00
parent 6150c2ccb9
commit 8dbca80853
3 changed files with 53 additions and 0 deletions

3
.gitignore vendored
View File

@@ -1,3 +1,6 @@
.omv/
.ssh/
.vagrant/
mgmt-documentation.pdf mgmt-documentation.pdf
old/ old/
tmp/ tmp/

View File

@@ -27,4 +27,16 @@ fi
echo "gopath is: $GOPATH" echo "gopath is: $GOPATH"
# some versions of golang apparently require this to run go get :(
if ! env | grep -q '^GOBIN='; then
export GOBIN="${GOPATH}bin/"
mkdir "$GOBIN"
if ! grep -q '^export GOBIN=' ~/.bashrc; then
echo 'export GOBIN="${GOPATH}bin/"' >> ~/.bashrc
fi
echo "setting go bin to: $GOBIN"
fi
echo "gobin is: $GOBIN"
go get ./... # get all the go dependencies go get ./... # get all the go dependencies

38
omv.yaml Normal file
View File

@@ -0,0 +1,38 @@
---
:domain: example.com
:network: 192.168.123.0/24
:image: centos-7.1
:cpus: ''
:memory: ''
:disks: 0
:disksize: 40G
:boxurlprefix: ''
:sync: rsync
:syncdir: mgmt/
:syncsrc: "../"
:folder: ".omv"
:extern: []
:cd: "-"
:puppet: false
:classes: []
:shell:
- cd /vagrant/mgmt/ && make deps
:docker: false
:kubernetes: false
:ansible: []
:playbook: []
:ansible_extras: {}
:cachier: false
:vms: []
:namespace: omv
:count: 1
:username: ''
:password: ''
:poolid: true
:repos: []
:update: false
:reboot: false
:unsafe: false
:nested: false
:comment: ''
:reallyrm: false