diff --git a/.gitignore b/.gitignore index bb37f0bc..d20706f8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ +.omv/ +.ssh/ +.vagrant/ mgmt-documentation.pdf old/ tmp/ diff --git a/misc/make-deps.sh b/misc/make-deps.sh index bb9ae090..c211d8d3 100755 --- a/misc/make-deps.sh +++ b/misc/make-deps.sh @@ -27,4 +27,16 @@ fi 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 diff --git a/omv.yaml b/omv.yaml new file mode 100644 index 00000000..10dfc287 --- /dev/null +++ b/omv.yaml @@ -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