Skip to content

Commit d6c1664

Browse files
committed
configure: Adopt start_unit_jit() logic for sd-genreator
See original PR: #162
1 parent d00fea1 commit d6c1664

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/configure.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ int main(int argc, char** argv)
230230
*/
231231
// LCOV_EXCL_START
232232
/* covered via 'cloud-init' integration test */
233+
start_unit_jit("netplan-configure.service");
233234
if (any_networkd) {
234235
start_unit_jit("systemd-networkd.socket");
235236
if (enable_wait_online)
@@ -238,7 +239,7 @@ int main(int argc, char** argv)
238239
}
239240
g_autofree char* glob_run = g_build_path(G_DIR_SEPARATOR_S,
240241
rootdir != NULL ? rootdir : G_DIR_SEPARATOR_S,
241-
"run", "systemd", "system", "netplan-*.service",
242+
"run", "systemd", "generator.late", "netplan-*.service",
242243
NULL);
243244
if (!glob(glob_run, 0, NULL, &gl)) {
244245
for (size_t i = 0; i < gl.gl_pathc; ++i) {

0 commit comments

Comments
 (0)