mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-20 01:29:07 +00:00
commit
2c89f304ce
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user