make a simple .deb package
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
41673f3170
commit
22111183a5
5
Makefile
5
Makefile
|
@ -11,6 +11,11 @@ all: build
|
|||
build:
|
||||
GO111MODULE=off go build -v -ldflags "-X main.Version=${VERSION} -X gui.GUIVERSION=${VERSION}"
|
||||
|
||||
# makes a .deb package
|
||||
debian:
|
||||
rm -f ~/incoming/virtigo*deb
|
||||
go-deb --no-gui --repo go.wit.com/apps/virtigo
|
||||
|
||||
xml-add:
|
||||
./virtigo --libvirt ~/libvirt/*.xml --xml-ignore-disk=true
|
||||
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash -x
|
||||
|
||||
# this is the systemd control file
|
||||
mkdir -p files/usr/bin/
|
||||
cp ../../lib/daemons/virtigod/virtigod files/usr/bin/
|
|
@ -0,0 +1,15 @@
|
|||
Source: virtigo
|
||||
Build-Depends: golang
|
||||
Package: virtigo
|
||||
Maintainer: Jeff Carr <jcarr@wit.com>
|
||||
Architecture: amd64
|
||||
Recommends: virtigod
|
||||
Depends:
|
||||
URL: https://go.wit.com/apps/virtigo
|
||||
Description: control your virtual machines in your cluster
|
||||
lets you start,stop, etc virtual machines
|
||||
converts libvirt xml into protobuf definitions
|
||||
communicates with hypervisors with protobuf's
|
||||
uses virsh to start & stop
|
||||
maintains unique mac address table
|
||||
servers cluster status on :8080 for uptime checking like Kuma
|
Loading…
Reference in New Issue