Merge pull request #3117 from steeve/patch-1

Change GCP metadata SSH keys URL
This commit is contained in:
Rolf Neugebauer 2018-07-16 20:40:59 +01:00 committed by GitHub
commit 090f461e7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 8 additions and 8 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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)
}