diff --git a/examples/aws.yml b/examples/aws.yml index a500f0113..4ddfd893e 100644 --- a/examples/aws.yml +++ b/examples/aws.yml @@ -13,7 +13,7 @@ onboot: image: linuxkit/dhcpcd:v0.5 command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"] - name: metadata - image: linuxkit/metadata:v0.5 + image: linuxkit/metadata:721562e6f3ba9b6c003f9e746ff7ee94796f5251 services: - name: rngd image: linuxkit/rngd:v0.5 diff --git a/examples/docker-for-mac.yml b/examples/docker-for-mac.yml index ac83b13b9..fb5b5a114 100644 --- a/examples/docker-for-mac.yml +++ b/examples/docker-for-mac.yml @@ -11,7 +11,7 @@ init: onboot: # support metadata for optional config in /run/config - name: metadata - image: linuxkit/metadata:v0.5 + image: linuxkit/metadata:721562e6f3ba9b6c003f9e746ff7ee94796f5251 - name: sysctl image: linuxkit/sysctl:v0.5 - name: sysfs diff --git a/examples/gcp.yml b/examples/gcp.yml index cf6d6556a..7a22acf25 100644 --- a/examples/gcp.yml +++ b/examples/gcp.yml @@ -13,7 +13,7 @@ onboot: image: linuxkit/dhcpcd:v0.5 command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"] - name: metadata - image: linuxkit/metadata:v0.5 + image: linuxkit/metadata:721562e6f3ba9b6c003f9e746ff7ee94796f5251 services: - name: getty image: linuxkit/getty:v0.5 diff --git a/examples/openstack.yml b/examples/openstack.yml index e9cde5ba3..f49b87cba 100644 --- a/examples/openstack.yml +++ b/examples/openstack.yml @@ -13,7 +13,7 @@ onboot: image: linuxkit/dhcpcd:v0.5 command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"] - name: metadata - image: linuxkit/metadata:v0.5 + image: linuxkit/metadata:721562e6f3ba9b6c003f9e746ff7ee94796f5251 command: ["/usr/bin/metadata", "openstack"] services: - name: rngd diff --git a/examples/packet.yml b/examples/packet.yml index c3985f933..50731007d 100644 --- a/examples/packet.yml +++ b/examples/packet.yml @@ -18,7 +18,7 @@ onboot: image: linuxkit/dhcpcd:v0.5 command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"] - name: metadata - image: linuxkit/metadata:v0.5 + image: linuxkit/metadata:721562e6f3ba9b6c003f9e746ff7ee94796f5251 command: ["/usr/bin/metadata", "packet"] services: - name: rngd diff --git a/examples/scaleway.yml b/examples/scaleway.yml index ae338ec5a..7decbace4 100644 --- a/examples/scaleway.yml +++ b/examples/scaleway.yml @@ -16,7 +16,7 @@ onboot: image: linuxkit/dhcpcd:v0.5 command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"] - name: metadata - image: linuxkit/metadata:v0.5 + image: linuxkit/metadata:721562e6f3ba9b6c003f9e746ff7ee94796f5251 services: - name: getty image: linuxkit/getty:v0.5 diff --git a/examples/vultr.yml b/examples/vultr.yml index cf6d6556a..7a22acf25 100644 --- a/examples/vultr.yml +++ b/examples/vultr.yml @@ -13,7 +13,7 @@ onboot: image: linuxkit/dhcpcd:v0.5 command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"] - name: metadata - image: linuxkit/metadata:v0.5 + image: linuxkit/metadata:721562e6f3ba9b6c003f9e746ff7ee94796f5251 services: - name: getty image: linuxkit/getty:v0.5 diff --git a/pkg/metadata/provider_gcp.go b/pkg/metadata/provider_gcp.go index 764c70a81..24c777397 100644 --- a/pkg/metadata/provider_gcp.go +++ b/pkg/metadata/provider_gcp.go @@ -97,7 +97,7 @@ func gcpGet(url string) ([]byte, error) { // TODO split them into individual user files and make the ssh // container construct those users func (p *ProviderGCP) handleSSH() error { - sshKeys, err := gcpGet(project + "attributes/sshKeys") + sshKeys, err := gcpGet(project + "attributes/ssh-keys") if err != nil { return fmt.Errorf("Failed to get sshKeys: %s", err) }