Michael Stapelberg
0a2ad2d53b
website: instance-config: document GoBuildEnvironment
...
Also unify the GoBuildTags and GoBuildFlags examples.
2025-03-30 11:23:40 +02:00
Michael Stapelberg
24892b7c3c
go.mod: bump language version to go1.24
2025-03-13 08:36:08 +01:00
Michael Stapelberg
b95f1943f6
go.{mod,sum}: pull in latest golang.org/x/net
2025-03-13 08:33:24 +01:00
Michael Stapelberg
29f3a3f118
Revert "status: properly clean up EventSource connections"
...
This reverts commit c7823aff1a .
This “fix” introduced a new problem: when navigating in the
back/forward cache, the EventSource connection would not resume.
2025-03-07 16:52:31 +01:00
Michael Stapelberg
9874e1e6d7
re-generate website for previous commit
2025-02-27 20:39:18 +01:00
Michael Stapelberg
f68947708b
rsync-backups: install gokr-rsync with basename rsync
...
This makes using gokr-rsync via SSH (command) easier:
You won’t need to specify --rsync-path=gokr-rsync anymore.
2025-02-27 20:38:23 +01:00
Michael Stapelberg
69f015698c
re-generate website for previous commit
2025-02-27 20:35:19 +01:00
Paul Thiele
0dc1adf4c7
instance-config: document package config -> basename
...
co-authored by Michael Stapelberg
related to https://github.com/gokrazy/gokrazy/issues/303
2025-02-27 20:35:09 +01:00
Michael Stapelberg
267d2ac640
wait: implement WaitFor("net-online")
...
tested in a VM:
2025/02/23 10:42:10 waiting for net-online
2025/02/23 10:42:10 waiting for net-online: lookup(gokrazy.org): lookup gokrazy.org on [::1]:53: read udp [::1]:56467->[::1]:53: read: connection refused
2025/02/23 10:42:11 waiting for net-online: lookup(gokrazy.org): lookup gokrazy.org on [::1]:53: read udp [::1]:36567->[::1]:53: read: connection refused
2025/02/23 10:42:12 waiting for net-online: lookup(gokrazy.org): lookup gokrazy.org on [::1]:53: read udp [::1]:36773->[::1]:53: read: connection refused
2025/02/23 10:42:13 waiting for net-online: lookup(gokrazy.org): lookup gokrazy.org on [::1]:53: read udp [::1]:34451->[::1]:53: read: connection refused
2025/02/23 10:42:14 waiting for net-online: lookup(gokrazy.org): lookup gokrazy.org on [::1]:53: read udp [::1]:51114->[::1]:53: read: connection refused
2025/02/23 10:42:15 done waiting after 5.030385208s
2025-02-23 10:42:56 +01:00
Michael Stapelberg
a9154f87e2
wait: implement WaitFor("net-route")
...
related to https://github.com/gokrazy/gokrazy/issues/168
fixes https://github.com/gokrazy/gokrazy/issues/21
2025-02-23 10:33:23 +01:00
Michael Stapelberg
85743f0dee
wait: re-shuffle functions: WaitFor() is the best entrypoint
2025-02-23 10:12:12 +01:00
Michael Stapelberg
23c47dcb0c
do not read any password file when /etc/gokr-pw.txt is missing
...
See the comment for rationale. This makes it harder to take over a
gokrazy instance when having write access to /perm.
Whether the password should be read from /perm at all is another
valid question to ask. I am not sure anyone has such a setup?
If you are reading this and you do, please e-mail me.
2025-02-23 09:57:27 +01:00
Michael Stapelberg
d4899e240e
gokrazy: introduce WaitFor("clock") as replacement for WaitForClock
...
related to https://github.com/gokrazy/gokrazy/issues/168
2025-02-22 11:04:27 +01:00
Michael Stapelberg
61d288a38b
re-generate website for previous commit
2025-02-22 10:25:19 +01:00
Michael Stapelberg
4039e09b17
rsync-backups: gokrazy/rsync v0.2.0+ ships cmd/gokr-rsync (no d)
...
We still use the gokr-rsyncd name for the config file,
which is consistent with how tridge rsync does it: rsyncd.conf(5).
2025-02-22 10:24:05 +01:00
dependabot[bot]
bd0bb5f1d0
build(deps): bump golang.org/x/net from 0.23.0 to 0.33.0 ( #302 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.23.0 to 0.33.0.
- [Commits](https://github.com/golang/net/compare/v0.23.0...v0.33.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-22 07:14:09 +01:00
Michael Stapelberg
70965d2947
GitHub Actions: bump action versions
2025-02-22 07:09:54 +01:00
Tim H
1d4c6badf3
Always listen on gokrazy.HTTPUnixSocket ( #296 )
...
The change is made to allow other tools like breakglass or mkfs to
interact with the Gokrazy API when TLS is enabled. The tools currently
make HTTP requests to get system information or trigger reboots. When
TLS is enabled, these requests fail because Gokrazy redirects all HTTP
requests to HTTPS. While it is possible to configure the respective
clients to properly validate (self-signed) certificates, doing so is
cumbersome. Therefore, always listen on the Unix socket to avoid the
complexity of certificate validation. Username and password must still
be provided and will be validated.
2025-02-22 07:08:47 +01:00
Michael Stapelberg
9285793115
/status: do not link the service name
...
related to https://github.com/gokrazy/gokrazy/issues/295
2025-02-04 18:50:25 +01:00
Michael Stapelberg
b3656e1381
HTTPS redirect: add missing net.SplitHostPort()
...
The http.Request.Host field can contain a port.
fixes https://github.com/gokrazy/tools/issues/82
2025-01-28 20:52:18 +01:00
Michael Stapelberg
82d78edac8
website: re-generate for previous commit
2025-01-26 22:57:18 +01:00
Michael Stapelberg
a71bb0d14d
instance-config: document environment config
...
related to https://github.com/gokrazy/gokrazy/issues/191
2025-01-26 22:56:45 +01:00
Michael Stapelberg
730ef75b0f
website: re-generate for previous commit
2025-01-21 19:48:34 +01:00
Bill Doyle
8a10fdac96
quickstart: mention GOKRAZY_PARENT_DIR ( #290 )
2025-01-21 19:48:22 +01:00
Michael Stapelberg
3e52cbb776
fix integration/uefiboot with newer OVMF
2024-12-22 18:05:45 +01:00
Michael Stapelberg
c7823aff1a
status: properly clean up EventSource connections
...
This should fix occasional hangs when navigating between pages.
I did not expect this behavior from browsers. I would have expected
all pending requests of a page to be terminated when the user
navigates to a different page. Instead, one needs to explicitly
close() EventSource connections.
2024-12-22 17:14:40 +01:00
Michael Stapelberg
3fd48c2b93
re-generate website for previous commit
2024-11-06 19:32:16 +01:00
Michael Stapelberg
e3a135f259
website: docker-containers: remove unnecessary tmpfs mount
...
(This is an optional step.)
2024-11-06 19:31:45 +01:00
Michael Stapelberg
4015d44102
website: re-generate for previous commit
2024-09-09 18:01:43 +02:00
Michael Stapelberg
ab7a3e3f04
website: add configuration → dhcp
2024-09-09 18:01:25 +02:00
Michael Stapelberg
76f798eace
integration test: switch from gokr-packer to gok
...
By now, all users should have moved over to the gok CLI.
2024-08-18 21:30:48 +02:00
Michael Stapelberg
6306c25c43
go.mod: bump Go version to 1.22
2024-08-18 17:02:33 +02:00
Michael Stapelberg
676865a4e8
website: re-generate for previous commit
2024-08-02 16:48:48 +02:00
Michael Stapelberg
265ba9a87b
platforms: fix amd64/arm64 kernel URL
...
fixes https://github.com/gokrazy/gokrazy/issues/263
2024-08-02 16:48:37 +02:00
Michael Stapelberg
dc0e5bcee4
website: re-generate for previous commit
2024-08-02 16:46:38 +02:00
Michael Stapelberg
0704f8c63e
platforms: link to now-available generic amd64/arm64 kernels
2024-08-02 16:46:19 +02:00
Michael Stapelberg
1d9057cee9
re-generate website for previous commit
2024-07-21 09:53:52 +02:00
Michael Stapelberg
88b3ab8b2e
instance-config: update options docs
...
related to https://github.com/gokrazy/gokrazy/issues/236
2024-07-21 09:53:00 +02:00
Bill Doyle
75df378463
Add support for parsing mount options
2024-07-21 09:44:55 +02:00
Bill Doyle
2e3ce410bf
Log mount options if any are set
2024-07-21 09:44:55 +02:00
Michael Stapelberg
476f34dea4
re-generate website for previous commit
2024-07-19 18:44:23 +02:00
Michael Stapelberg
181f1a246f
mount: implement locating device by UUID=
2024-07-19 18:44:13 +02:00
Michael Stapelberg
527e712756
display extra mount devices under “storage” section
...
related to https://github.com/gokrazy/gokrazy/issues/236
2024-07-19 18:28:45 +02:00
Michael Stapelberg
51607e0458
mountDevices: print which PARTUUIDs are not matched
...
This makes it easier to obtain the required PARTUUID:
just put anything and check the log for the correct one.
related to https://github.com/gokrazy/gokrazy/issues/236
2024-07-19 18:18:12 +02:00
Michael Stapelberg
09d19e23fb
mountDevices: retry every 5s after the first 10 attempts
...
This reduces log spam when the device to mount never appears.
related to https://github.com/gokrazy/gokrazy/issues/236
2024-07-19 18:18:00 +02:00
Michael Stapelberg
7e1b8251bf
website: re-generate for previous commit
2024-07-19 17:19:33 +02:00
Michael Stapelberg
576c2a160a
mountconfig: fix description
...
related to https://github.com/gokrazy/gokrazy/issues/236
2024-07-19 17:19:28 +02:00
Michael Stapelberg
d1a7927a5f
website: re-generate for previous commit
2024-07-19 17:12:30 +02:00
Michael Stapelberg
84eb6a4882
instance-config: document mount configuration
...
related to https://github.com/gokrazy/gokrazy/issues/236
2024-07-19 17:12:09 +02:00
Michael Stapelberg
dcfe3d402e
website: re-generate for previous commit
2024-07-08 08:54:57 +02:00