mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-04 00:18:53 +00:00
@@ -14,6 +14,7 @@ onboot:
|
||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||
- name: metadata
|
||||
image: linuxkit/metadata:v0.7
|
||||
command: ["/usr/bin/metadata", "vultr"]
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:v0.7
|
||||
|
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user