Skip to content

Commit

Permalink
fix(config): relocate /run to /var/run on BSD (#4677)
Browse files Browse the repository at this point in the history
on BSD, /run is not ephemeral.
relocate BSDs config to /var/run

Sponsored by: The FreeBSD Foundation
Fixes GH-4180
Fixes GH-4231
  • Loading branch information
igalic committed Jan 4, 2024
1 parent 0486c63 commit 2bbde27
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/cloud.cfg.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,9 @@ system_info:
paths:
cloud_dir: /var/lib/cloud/
templates_dir: /etc/cloud/templates/
{% elif is_bsd %}
paths:
run_dir: /var/run/
{% endif %}
{% if variant == "debian" %}
package_mirrors:
Expand Down

0 comments on commit 2bbde27

Please sign in to comment.