61c47d735a
omyacid: default username in /vendor-data
2024-08-15 21:19:59 -07:00
926997c1d1
omyacid: try another tactic for default username
2024-08-15 21:10:12 -07:00
8cca433f91
omyacid: s/public_keys/public-keys/
2024-08-15 21:03:19 -07:00
66289b7c5b
DEBIAN!!!
2024-08-15 20:35:55 -07:00
f0d37da26d
omyacid: define /vendor-data and /network-config
...
They do nothing for now.
2024-08-15 20:24:51 -07:00
a4c38c7d82
nzr-virt: make BiosData optional
...
Hopefully this fixes an issue with some VMs created outside of nzr.
2024-08-15 20:24:29 -07:00
8448a93b21
client: remove unused code
2024-08-15 20:23:57 -07:00
4edbe1a46d
nzrd: stop the virt domain when deleting
2024-08-15 20:17:41 -07:00
deaaaa3d10
nzr-api: ensure / is at the end of the ci url
...
Without it, cloud-init tries accessing `http://1.1.1.1:80meta-data `.
2024-08-15 19:25:24 -07:00
c35d9ccbed
nzrdhcp: also define lease in offer
2024-08-15 19:15:25 -07:00
693156dc3e
nzrdhcp: define lease in request ack
2024-08-15 19:13:38 -07:00
37a1b0f3a0
pseudo mtu awareness
2024-08-15 18:55:10 -07:00
b0646410b9
nzrdhcp: broadcast if needed
2024-08-15 01:01:43 -07:00
24a0c1cc68
nzr-virt: stay below hardcoded libvirt packet max
2024-08-15 00:42:57 -07:00
5040bc7b87
nzr-virt: sprinkle more debug
2024-08-15 00:35:31 -07:00
7a9659eb9e
nzr-virt: use log when needed
2024-08-15 00:15: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
267b924d7f
fix error formatting
2024-08-14 23:44:27 -07:00
48bff395ca
nzrd: declare cloud-init metadata via smbios
2024-08-14 23:04:41 -07:00
b350e73b8a
nzr-virt: smbios strings support
2024-08-14 23:00:36 -07:00
d10d98de96
properly init tracing-subscriber
2024-08-14 22:18:13 -07:00
8e9478ebc6
trim newlines in ssh key
2024-08-14 22:09:31 -07:00
f5bf777b2e
fiddling with templates pt1
2024-08-14 21:55:39 -07:00
29fc84e949
omyacid: ssh pubkeys
2024-08-14 21:52:25 -07:00
04f4d625a6
omyacid: Use into_make_service_with_connect_info
...
See https://docs.rs/axum/latest/axum/struct.Router.html#method.into_make_service_with_connect_info
2024-08-14 21:22:57 -07:00
a54204a1ee
nzrd/model: output ssh-key api_model correct-like
2024-08-14 21:17:12 -07:00
f9adaddbb5
nzr-api: remove unused sqlx dependency
...
s i g h .
2024-08-14 21:12:28 -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
9ca4e87eb7
fix doc comment
2024-08-14 17:34:32 -07:00
957499c0a5
api: cloud-init userdata and ssh keys
2024-08-14 17:33:59 -07:00
997478801c
implement some tests
2024-08-14 17:31:26 -07:00
e4df2e5075
omyacid: Old Mouse Yells At Cloud-init Daemon
...
HTTP daemon that interfaces with nzrd to get cloud-init metadata to
instances. The current iteration is completely untested.
2024-08-12 00:19:24 -07:00
51e72fed93
nzrdhcp: don't depend on tarpc
...
No longer needed, with nzr-api exposing the client bits.
2024-08-12 00:17:53 -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
1023fdca8c
resolver = 2
2024-07-27 22:33:30 -07:00