feat/lxc-OpenBao #6

Merged
Damien merged 14 commits from feat/lxc-OpenBao into main 2026-05-26 16:54:23 +00:00
2 changed files with 8 additions and 0 deletions
Showing only changes of commit e8920b246b - Show all commits

View File

@@ -12,6 +12,7 @@ These scripts automate the deployment of personal infrastructure components. The
- **Multi-OS**: Supports Debian and Alpine-based deployments - **Multi-OS**: Supports Debian and Alpine-based deployments
- **Loopback by default**: Services bind to `127.0.0.1`; Tailscale handles the reverse proxy and TLS termination - **Loopback by default**: Services bind to `127.0.0.1`; Tailscale handles the reverse proxy and TLS termination
- **Log hygiene**: Every long-running service ships with a `logrotate` config (no unbounded log files) - **Log hygiene**: Every long-running service ships with a `logrotate` config (no unbounded log files)
- **Console auto-login**: Proxmox LXCs are configured for root auto-login on `tty1` (fast `pct enter` and Web UI shell access)
- **Keep it simple**: One script per service, plain bash, no frameworks — readability over cleverness - **Keep it simple**: One script per service, plain bash, no frameworks — readability over cleverness
### Available Scripts ### Available Scripts

View File

@@ -465,6 +465,13 @@ EOF
log_info "Starting openbao service..." log_info "Starting openbao service..."
rc-service openbao start || log_warn "openbao failed to start — inspect /var/log/openbao.log" rc-service openbao start || log_warn "openbao failed to start — inspect /var/log/openbao.log"
log_info "Enabling console auto-login on tty1..."
mkdir -p /etc/conf.d
cat > /etc/conf.d/agetty <<'EOF'
agetty_options="--autologin root --noclear"
EOF
sed -i 's|^tty1::respawn:/sbin/getty.*|tty1::respawn:/sbin/agetty --autologin root --noclear 38400 tty1|' /etc/inittab
configure_tailscale_proxy configure_tailscale_proxy
log_info "Cleaning up..." log_info "Cleaning up..."