mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-20 17:49:10 +00:00
commit
2c89f304ce
@ -14,6 +14,7 @@ onboot:
|
|||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
- name: metadata
|
- name: metadata
|
||||||
image: linuxkit/metadata:v0.7
|
image: linuxkit/metadata:v0.7
|
||||||
|
command: ["/usr/bin/metadata", "vultr"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:v0.7
|
image: linuxkit/getty:v0.7
|
||||||
|
@ -61,6 +61,11 @@ func (p *ProviderVultr) Extract() ([]byte, error) {
|
|||||||
// instance-id
|
// instance-id
|
||||||
vultrMetaGet("instanceid", "instance_id", 0644)
|
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
|
return nil, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user