343 Commits

Author SHA1 Message Date
Neil Roza
c36e8784c8 pixiecore/README.md: update docker image names 2020-06-17 12:13:29 -07:00
Neil Roza
a58c0b7bc7 fix #113: get the update-ipxe target working
Delete the vendored source under `thirds_party/ipxe` and replace it with a
submodule reference to https://github.com/ipxe/ipxe.git at commit
8f1514a00450119b04b08642c55aa674bdf5a4ef a.k.a. tag `v1.20.1` a.k.a. the latest
release as of this writing.

Edit `Makefile` to change the rule body of the `update-ipxe` target:

* Discover the full path of `pixiecore/boot.ipxe`; i.e., the `EMBED` script
  given to the `ipxe` build.

* Use `$(MAKE) -C` instead of subshelled `cd`.

* Leave the four built ipxe binaries where they are built.

* Change the `go-bindata` to operate on the four files (instead of the
  directory that contains them), write to `out/ipxe/bindata.go` (instead of
  `third_party/ipxe/ipxe-bin.go`), and lose the `-prefix`.

Edit `cmd/pixiecore/main.go` use the new `ipxe` import path and reference the
binaries by the longer, un-prefixed path keys.

Add `out/ipxe/bindata.go`, the thing generated by `go-bindata`. Yeah, we
shouldn't source-control that which we can generate, but...

* `ipxe` builds are not reproducible (yet)

* building those four binaries takes a appreciable amount of time

* we can avoid a build-time dependency on `go-bindata`

Remove `third_party/Makefile` because it looks like dead code. At any rate, it
seems this patch obviates everything it may have done.
2020-06-17 09:54:17 -07:00
David Anderson
c56445963e pixiecore/cli: correct URL for Ubuntu >=focal. 2020-06-04 01:05:21 +00:00
Kobe Housen
50b55cd745 add support for fedora 32 2020-05-21 10:45:23 -07:00
Stefan Majer
68743c67a6 fix for #78, dockerfile compiles again 2020-02-05 13:06:10 -08:00
David Anderson
e107dcd254 Update dependencies. 2020-01-26 13:50:20 -08:00
Simon Legner
2077bcee04 quickcmd: Ubuntu version up to focal
Removes old versions no longer present on http://mirrors.edge.kernel.org/ubuntu/dists/
2020-01-26 13:25:55 -08:00
Simon Legner
1b89ea3ce5 quickcmd: add CentOS 8 2020-01-26 13:23:46 -08:00
Simon Legner
067d0cc365 quickcmd: add Fedora 31 2020-01-26 13:20:56 -08:00
Stefan Majer
f47ae40332 Fix most of golangci-lint errors in the pixiecore package, keep unused logging function and unchecked errors in example 2020-01-26 13:20:21 -08:00
afg
603e85bc4c Add Arch Linux into quick boot options 2020-01-26 13:14:10 -08:00
Travis Short
c08175e180 Update pixiecore.go
fix interface metadata errors for MacOS
2020-01-26 13:12:51 -08:00
Dave Anderson
3271f8a90f
Update README.md 2019-11-27 20:18:57 -08:00
Björn Busse
fcbf6d3880 Update Fedora versions to currently available ones
Tested with the configured mirror.
2019-11-27 20:17:20 -08:00
Dave Anderson
8a2e038430
Update README.md 2019-11-27 19:57:18 -08:00
Neil Roza
72fa512fed fix some readme links 2019-08-02 14:37:23 -07:00
wweir
01f30467ac Fix #87, add broadcast discover message support 2019-02-14 17:33:30 -08:00
David Anderson
a62f978630 Gaaaah. Switch deploy stage to Go 1.11. Where modules work. 2019-01-22 21:29:12 -08:00
David Anderson
675c498324 Desperation setting in. 2019-01-22 21:26:10 -08:00
David Anderson
b493824514 Further attempt to deconfuse CI. 2019-01-22 21:14:37 -08:00
David Anderson
9d7066245c Yet another attempt to fix finicky CI. 2019-01-22 21:12:07 -08:00
David Anderson
307b9f6ccf Correct the deploy commands to also use modules. 2019-01-22 21:07:19 -08:00
David Anderson
0576bf8116 Correct go tool vet invocation. 2019-01-22 21:04:32 -08:00
David Anderson
d0d1e29c07 Stop using gometalinter, it's not module-aware. 2019-01-22 21:03:07 -08:00
David Anderson
268ad4db14 Don't enable modules on the tools, because they don't work with modules.
Sigh.
2019-01-22 20:46:23 -08:00
David Anderson
fbc01132f9 Force-on Go modules in CI. 2019-01-22 20:42:49 -08:00
David Anderson
663f6d5258 Stop trying to dep ensure in CI. 2019-01-22 20:41:05 -08:00
David Anderson
19ebf69d5c Update CircleCI to use only go 1.11. 2019-01-22 20:39:48 -08:00
Cole Mickens
07f26d54dd go.mod: correct module path
Signed-off-by: Cole Mickens <cole.mickens@gmail.com>
2019-01-22 20:35:53 -08:00
Cole Mickens
23047350a2 Replace Gopkg with go modules
Signed-off-by: Cole Mickens <cole.mickens@gmail.com>
2019-01-22 20:27:37 -08:00
Frank Theile
24067fad46 Replace Pixieboot -> Pixiecore 2018-10-10 09:49:12 -07:00
Perry Lorier
69eb97d03f Explain which DHCP response is missing
Include better debugging messages as to if you didn't receive any DHCP response, or you're missing the ProxyDHCP boot configuration to try and determine what's going wrong.
2018-08-28 14:01:57 -07:00
David Anderson
fc62328e66 Switch the image building to happen on Go 1.10. 2018-08-12 20:30:37 -07:00
David Anderson
800f0e5470 Correct the working directory for the CI auto-deploy. 2018-08-12 18:25:21 -07:00
Anatoli Babenia
e76f0bd3d9 Simplify and add TL;DR with quick xyz option
It is not clear what `all-in-one` means for software that is
so specialized as `pixiecore`, so I removed that phrase. :)
2018-08-12 16:38:36 -07:00
Anatoli Babenia
545242b7db Update README.md
Put `pixiecore` program first as it is what most users want
2018-08-12 16:38:36 -07:00
Anatoli Babenia
48462f0844 Switch badge to CircleCI
Travis is gone in 870d490bda51
2018-08-12 12:21:35 -07:00
David Anderson
870d490bda Disable Travis builds, this repo is on CircleCI now. 2018-07-27 09:53:51 -07:00
David Anderson
44f388b48b Update CircleCI config to test 1.9, 1.10, 1.11beta2. 2018-07-27 09:43:56 -07:00
Matt Layher
d536e23ec2 dhcp4: add OptInterfaceMTU 2018-07-27 08:59:23 -07:00
Matt Layher
df529f74dc dhcp4: make all options use type Option 2018-07-27 08:59:23 -07:00
Naadir Jeewa
cc33920b4f Resolves #57: Add RF_NETLINK to RestrictedAddressFamilies in SystemD unit
for pixiecore

Signed-off-by: Naadir Jeewa <naadir@randomvariable.co.uk>
2018-03-24 20:22:14 -07:00
David Anderson
da5542b8ac Fix the image pushing command in CircleCI. 2018-02-07 00:14:43 -08:00
David Anderson
002834d7e0 Fix CircleCI config. 2018-02-07 00:10:15 -08:00
David Anderson
dc3fb1180a Stop testing on 1.8.
1.10 is nearly here, and 1.8 does silly things with vendor directories.
I could support it, but in practice this isn't RHEL, I don't feel like
supporting old versions for the sake of it.
2018-02-07 00:08:19 -08:00
David Anderson
6e814b1273 Remove unused enum value. 2018-02-07 00:02:42 -08:00
David Anderson
cf666186aa Delete the old dhcp_server prototype, it's unused and broken. 2018-02-07 00:02:11 -08:00
David Anderson
6c9aeff7b3 Update dep lock in a desperate attempt to make dep not suck ass. 2018-02-06 23:57:58 -08:00
David Anderson
4a9e5cc194 Enable verbose logging on dep ensure. 2018-02-06 23:51:34 -08:00
David Anderson
d63047cea3 Add a CircleCI configuration for building container images. 2018-02-06 23:45:09 -08:00