mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 09:16:29 +00:00
Merge pull request #3117 from steeve/patch-1
Change GCP metadata SSH keys URL
This commit is contained in:
commit
090f461e7f
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user