18 Commits

Author SHA1 Message Date
0592fad080 Add Gitea Actions workflow (from GitHub)
Some checks failed
Build package / test-and-build (push) Failing after 6m5s
2026-01-11 04:57:34 +00:00
0cf28109b0 Add Gitea Actions workflow (from GitHub)
Some checks failed
Build package / test-and-build (push) Failing after 2m9s
2026-01-11 04:57:32 +00:00
9fe242362a Add Gitea Actions workflow (from GitHub)
Some checks failed
Build package / test-and-build (push) Has been cancelled
2026-01-11 04:57:29 +00:00
Paul Aurich
f475be81b9 Merge pull request #2 from darkrain42/configure-resolv-conf
Create /etc/resolv.conf in initramfs for tailscale client
2023-05-03 20:05:22 -07:00
Paul Aurich
6945048f39 workflows: bump shellcheck version 2023-05-03 20:01:01 -07:00
Paul Aurich
564c3c3539 Create /etc/resolv.conf in initramfs for tailscale client
On Debian systems, unless configured by something else, there isn't an
/etc/resolv.conf in the initramfs, which hinders DNS resolution.
Tailscale has its fallback DNS functionality, but that has problems [1]
in the corner-case situation of a Debian initramfs environment:

- no /etc/resolv.conf means tailscale (or golang?) attempts to use
  127.0.0.1 as a DNS resolver
- the loopback interface (lo) isn't brought up in the initramfs. linux
  sends the DNS traffic off-device (destined for 127.0.0.1)

Even with the Tailscale fix for that issue, it's a fallback and there's
a noticeable delay, so do the correct thing here and create
/etc/resolv.conf.

[1] https://github.com/tailscale/tailscale/issues/6110
2023-05-03 19:53:13 -07:00
Paul Aurich
166df1dd88 README.md: Fix typo (/usr/local/share, not /usr/share/local) 2023-04-27 19:42:45 -07:00
Paul Aurich
8644479260 Merge pull request #1 from darkrain42/update-actions
workflows: update actions for nodejs deprecation
2022-12-06 20:28:44 -08:00
Paul Aurich
67c8490c24 workflows: update actions for nodejs deprecation 2022-12-06 20:26:15 -08:00
Paul Aurich
41ed765b9a Keep attempting to bring up the network
After a total power outage (system and networking gear), it's possible
that the system boots up and blow through all the timeouts for DHCP
before the network is operational. Unfortunately, I can't always solve
that.
2022-12-06 20:13:10 -08:00
Paul Aurich
d28843e531 README.md: whitespace 2022-01-31 20:46:36 -08:00
Paul Aurich
7c96303448 Publish deb and apt repository for releases 2022-01-31 20:23:10 -08:00
Paul Aurich
924a0721cf Add github workflow to build package 2022-01-31 19:47:37 -08:00
Paul Aurich
cd5faedfb2 Add README, LICENSE, and .gitignore 2022-01-31 19:36:00 -08:00
Paul Aurich
1e1a8ea81e lintian: ignore the custom compression override 2022-01-31 19:36:00 -08:00
Paul Aurich
0a7c2d4e63 update shellcheck ignores for newer shellcheck 2022-01-31 19:36:00 -08:00
Paul Aurich
797252e021 initramfs hook for tailscale
This is intended to be used with an ephemeral auth key with an ACL tag,
and ACL rules that restrict the ephemeral node to inbound-only traffic.
It does not share instance state with tailscale running in Linux.

Reference:
- https://tailscale.com/kb/1111/ephemeral-nodes/
- https://tailscale.com/kb/1068/acl-tags/#generate-an-auth-key-with-an-acl-tag
- https://tailscale.com/kb/1068/acl-tags/#using-tags-in-acls-for-access-control
2022-01-31 19:36:00 -08:00
Paul Aurich
c5c1694970 Initial commit 2022-01-11 18:48:23 -08:00