We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8d229c commit e8f9155Copy full SHA for e8f9155
1 file changed
v1/image.go
@@ -40,6 +40,9 @@ func ValidateInstanceImage(ctx context.Context, instance Instance, privateKey st
40
}
41
}()
42
43
+ // If cloud-init is present, wait until it has finished (e.g. UFW/runcmd done).
44
+ _, _, _ = sshClient.RunCommand(ctx, "cloud-init status --wait 2>/dev/null || true")
45
+
46
arch, err := validateArchitecture(ctx, sshClient)
47
if err != nil {
48
return err
0 commit comments