We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be82c6b commit 268e9f2Copy full SHA for 268e9f2
1 file changed
lib/publiccloud/instance.pm
@@ -701,7 +701,7 @@ sub check_cloudinit() {
701
# cloud-init status
702
my $rc = $self->ssh_script_run(cmd => "sudo cloud-init status --wait", timeout => 300);
703
record_info("cloud-init", $self->ssh_script_output("sudo cloud-init status --long", timeout => 300));
704
- die "cloud-init failed with return code $rc" if ($rc != 0);
+ die "cloud-init failed with return code $rc" if ($rc != 0 && $rc != 2);
705
706
# cloud-id
707
my $cloud_id = (is_azure) ? 'azure' : 'aws';
0 commit comments