feat: rebranded from vpn-router to linux-manager.

This commit is contained in:
slawek committed 2026-11-22 09:51:07 +01:00
1 parent 8efe21bfa6
commit 85a1ffa21f
238 files changed
+5010 -3761

No files matched your search

+10 -10
View File
@@ -1,13 +1,13 @@
#cloud-config
#
# Example: install and configure vpn-router during first boot, supplying an
# Example: install and configure linux-manager during first boot, supplying an
# existing root CA instead of letting the package create one. See
# cloud-init.yaml.tpl for the variant that creates its own.
#
# Template variables are Terraform templatefile() placeholders. Adapt or drop
# them for whatever renders this file. With root_key empty the root stays
# offline: the router's issuing CAs wait for their certificates, signed with
# the root elsewhere and imported with vpn-router-ca ca import.
# offline: the server's issuing CAs wait for their certificates, signed with
# the root elsewhere and imported with linux-manager-ca ca import.
hostname: ${hostname}
fqdn: ${fqdn}
@@ -15,27 +15,27 @@ manage_etc_hosts: false
apt:
sources:
vpn-router:
source: "deb [signed-by=/etc/apt/keyrings/vpn-router.asc] ${repo_url} ${ubuntu_codename} main"
linux-manager:
source: "deb [signed-by=/etc/apt/keyrings/linux-manager.asc] ${repo_url} ${ubuntu_codename} main"
key: |
${indent(8, trimspace(repo_gpg_key))}
write_files:
# The configuration file. Created here before the package is installed, so
# postinst leaves it alone.
- path: /etc/vpn-router/vpn-router.json
- path: /etc/linux-manager/linux-manager.json
permissions: '0600'
owner: root:root
content: |
${jsonencode(config)}
- path: /etc/vpn-router/pki/root/cert.pem
- path: /etc/linux-manager/pki/root/cert.pem
permissions: '0644'
owner: root:root
content: |
${indent(6, trimspace(root_cert))}
%{ if root_key != "" ~}
- path: /etc/vpn-router/pki/root/key.pem
- path: /etc/linux-manager/pki/root/key.pem
permissions: '0600'
owner: root:root
content: |
@@ -45,7 +45,7 @@ write_files:
package_update: true
packages:
- vpn-router
- linux-manager
# Nothing further is required: installing the package starts
# vpn-router-setup, which applies the configuration written above.
# linux-manager-setup, which applies the configuration written above.