kdomanski / coreos-ipxe-server-deb

kit for packaging coreos-ipxe-server into .deb

Home Page:https://github.com/kelseyhightower/coreos-ipxe-server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CoreOS iPXE server .deb packaging kit

This kit will download a release of kelseyhightower/coreos-ipxe-server, add some example config and a systemd unit file, and package those into a .deb.

Instead of properly using debuild, I'm assembling the package myself since I couldn't figure out how to use dh-golang.

Building

Just type make. The binary will be downloaded from GitHub and then packaged with everything else.

make clean will delete the package as well as intermediary archives.

make download will force re-downloading the binary.

Caveat: Make sure to chown root the entire data directory after download (or clone and make as root). Otherwise the package will preserve current user's ownership.

Package usage

systemctl enable coreos-ipxe && systemctl start coreos-ipxe

As simple as that.

Get acquainted with the server's "Getting started". The samples in /opt/coreos-ipxe-server/ should be helpful.

About

kit for packaging coreos-ipxe-server into .deb

https://github.com/kelseyhightower/coreos-ipxe-server


Languages

Language:Makefile 100.0%