metadata: Fix Vultr provider SSH pubkey fetching
The Vultr provider currently never calls handleSSH, resulting in it
being impossible to bring up a LinuxKit image in vultr with the SSH
pubkey provided via the Vultr metadata API.
@@ -61,6 +61,11 @@ func (p *ProviderVultr) Extract() ([]byte, error) {
// instance-id
vultrMetaGet("instanceid", "instance_id", 0644)
+ // ssh
+ if err := p.handleSSH(); err != nil {
+ log.Printf("Vultr: Failed to get ssh data: %s", err)
+ }
+
return nil, nil
}
