From d5374bba2f1b4607a773ebff00e1ee7d66e23033 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Mon, 14 May 2018 15:38:22 -0400 Subject: cloud-config.service: run After snap.seeded.service. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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:   https://github.com/snapcore/snapd/pull/5124 Note that the following would be a workaround:  snap:   commands:    00: snap wait system seed.loaded LP: #1767131 --- systemd/cloud-config.service.tmpl | 1 + 1 file changed, 1 insertion(+) (limited to 'systemd') diff --git a/systemd/cloud-config.service.tmpl b/systemd/cloud-config.service.tmpl index bdee3ce0..9d928ca2 100644 --- a/systemd/cloud-config.service.tmpl +++ b/systemd/cloud-config.service.tmpl @@ -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] -- cgit v1.2.3