fix: the root CA is created by the server, an offline CA or a Simple CA service, chosen at setup; the shell can stay open in a tab of its own, the Docker page is offered only with Docker, and the test scripts are in bin/.
Release / release (push) Failing after 14m20s

This commit is contained in:
slawek committed 2026-11-23 06:45:23 +01:00
1 parent ff0c93ed73
commit a649331aa2
49 files changed
+1597 -637

No files matched your search

+13 -18
View File
@@ -1,18 +1,9 @@
#cloud-config
#
# Example: install and configure linux-manager during first boot.
#
# This is one way to reach the state described in README.md, not an interface
# the package depends on. It writes the configuration file directly, which
# keeps everything in one place and works the same whether or not debconf is
# involved.
#
# Template variables are Terraform templatefile() placeholders. Adapt or drop
# them for whatever renders this file.
#
# This variant lets the package create its own CAs on first boot. See
# cloud-init-with-pki.yaml.tpl for the variant that supplies an existing root
# CA instead.
# Example: install and configure linux-manager during first boot, with a root
# CA the package creates. The template variables are Terraform templatefile()
# placeholders; trusted_cas holds the PEM certificates of CAs added to the
# trust store.
hostname: ${hostname}
fqdn: ${fqdn}
@@ -26,18 +17,22 @@ apt:
${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/linux-manager/linux-manager.json
permissions: '0600'
owner: root:root
content: |
${jsonencode(config)}
%{ if length(trusted_cas) > 0 ~}
ca_certs:
trusted:
%{ for ca in trusted_cas ~}
- |
${indent(6, trimspace(ca))}
%{ endfor ~}
%{ endif ~}
package_update: true
packages:
- linux-manager
# Nothing further is required: installing the package starts
# linux-manager-setup, which applies the configuration written above.