Skip to content

Commit

Permalink
fix(config): relocate /run to /var/run on BSD
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 Dec 14, 2023
1 parent 10e6d4c commit 0a274a1
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 @@ -327,6 +327,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 0a274a1

Please sign in to comment.