Add omv support
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,3 +1,6 @@
|
|||||||
|
.omv/
|
||||||
|
.ssh/
|
||||||
|
.vagrant/
|
||||||
mgmt-documentation.pdf
|
mgmt-documentation.pdf
|
||||||
old/
|
old/
|
||||||
tmp/
|
tmp/
|
||||||
|
|||||||
@@ -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
38
omv.yaml
Normal 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
|
||||||
Reference in New Issue
Block a user