bootstrap: add VPNs from bootstrap volume

This commit is contained in:
Mikaël Cluseau
2025-09-03 16:29:45 +02:00
parent f892178d5d
commit eb81cd3b5c
3 changed files with 16 additions and 4 deletions

View File

@ -106,6 +106,7 @@ pub async fn run() {
// Wireguard VPNs
for (name, conf) in &cfg.vpns {
retry_or_ignore(async || {
info!("starting VPN {name}");
let dir = "/etc/wireguard";
fs::create_dir_all(dir).await?;