Commit graph

31 commits

Author SHA1 Message Date
42fad4920a events: try to wait for available connection slots 2024-08-19 11:58:04 -07:00
f0772b10e2 nzrd: actually serve the events 2024-08-18 20:33:33 -07:00
6fe1ed02aa nzrd: finally use tracing 2024-08-18 19:56:52 -07:00
d6eca32bc0 nzrdns: the DNS part of nzrd, now not part of nzrd 2024-08-18 19:42:21 -07:00
66289b7c5b DEBIAN!!! 2024-08-15 20:35:55 -07:00
4edbe1a46d nzrd: stop the virt domain when deleting 2024-08-15 20:17:41 -07:00
ec8528abb5 fix migration typo 2024-08-15 00:15:29 -07:00
60b39a5045 db fixes 2024-08-14 23:54:23 -07:00
93655b9c42 typo/nitpick 2024-08-14 23:49:43 -07:00
3d58c6c671 nzr-api/config: try to guess cloud-init http addr 2024-08-14 23:44:48 -07:00
48bff395ca nzrd: declare cloud-init metadata via smbios 2024-08-14 23:04:41 -07:00
a54204a1ee nzrd/model: output ssh-key api_model correct-like 2024-08-14 21:17:12 -07:00
c74cc70986 use libsqlite3-sys 0.29.0
SIGH.
2024-08-14 21:11:01 -07:00
660cf2e90d Use bundled sqlite3
Apparently the version of sqlite3 my distro has is 3.34. Sigh.
2024-08-14 21:08:40 -07:00
c5b4292f6a try to fix drop error 2024-08-14 21:02:44 -07:00
fff1ba672b Revert "fix migrations"
This reverts commit aae15f34f8.
2024-08-14 21:01:30 -07:00
aae15f34f8 fix migrations 2024-08-14 21:00:25 -07:00
e684b81660 support global ssh keys 2024-08-14 20:20:37 -07:00
957499c0a5 api: cloud-init userdata and ssh keys 2024-08-14 17:33:59 -07:00
da51722c54 nzrd: don't store ci-metadata
This will be handled entirely in omyacid.
2024-08-11 23:48:34 -07:00
3d0ea1f2ef nzrdhcp: make it actually work
* Check the DHCP options for the requested IPv4 address
* Update yiaddr, not siaddr or ciaddr
* Read the RFC a tenth time. I think I've got it now
2024-08-10 18:20:53 -07:00
9ca1b0c821 Set up migrations properly 2024-08-10 01:33:17 -07:00
6da77159b1 Complete rewrite time
Main changes:

* Use diesel instead of sled
* Split libvirt components into new crate, nzr-virt
* Start moving toward network-based cloud-init

To facilitate the latter, nzrdhcp is an added unicast-only DHCP server,
intended to be used behind a DHCP relay.
2024-08-10 00:58:20 -07:00
27f251ea8c sprinkle in some rustdoc 2024-07-28 13:21:51 -07:00
ef2c8b601c remove schema.rs
I can't even find it being used...?
2024-07-27 23:49:18 -07:00
f47564d4cb Remove unnecessary Cargo.toml comments 2024-07-27 23:13:32 -07:00
295609a57d Cleanup dependencies and code
we're so back
2024-07-27 23:12:25 -07:00
4b6f469a58 libvirt volume refactor 2023-06-30 12:44:39 -07:00
f2c5d1073d Fix host bug 2023-01-17 00:00:57 -08:00
e7113d6772 more stuff 2023-01-16 20:42:01 -08:00
4c02261015 Initial commit 2022-12-29 22:06:14 -08:00