Skip to content

Commit

Permalink
fix(config): relocate /run to /var/run on BSD (canonical#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 canonicalGH-4180
Fixes canonicalGH-4231
  • Loading branch information
igalic committed Jan 4, 2024
1 parent 90e7ba0 commit c8098d0
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 c8098d0

Please sign in to comment.