Skip to content

Commit

Permalink
cloud-config.service: run After snap.seeded.service.
Browse files Browse the repository at this point in the history
This makes cloud-config.service (and as a result cloud-final.service)
run After snap.seeded.service.  This is required to ensure that
pre-seeded snaps can be used by cloud-init or user-data input.

The snap.seeded.service was added to snapd at:
  canonical/snapd#5124

Note that the following would be a workaround:
 snap:
  commands:
   00: snap wait system seed.loaded

LP: #1767131
  • Loading branch information
smoser committed May 14, 2018
1 parent 3b712fc commit d5374bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions systemd/cloud-config.service.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
[Unit]
Description=Apply the settings specified in cloud-config
After=network-online.target cloud-config.target
After=snapd.seeded.service
Wants=network-online.target cloud-config.target

[Service]
Expand Down

0 comments on commit d5374bb

Please sign in to comment.