From 27a3eee6dcd0e15a3e32e834a4e70b896cd628b9 Mon Sep 17 00:00:00 2001 From: Rolf Neugebauer Date: Wed, 12 Apr 2017 14:54:38 +0100 Subject: [PATCH] gcp: Switch GCP to the new metadata package Signed-off-by: Rolf Neugebauer --- examples/gcp.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/gcp.yml b/examples/gcp.yml index e6302e1a9..5384e6700 100644 --- a/examples/gcp.yml +++ b/examples/gcp.yml @@ -26,14 +26,14 @@ onboot: - CAP_NET_RAW net: host command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"] - - name: metadata-gcp - image: "mobylinux/metadata-gcp:7fc3dd5ef92e0408fb3f76048bbaae88bbb55ad9" + - name: metadata + image: "mobylinux/metadata:5c64c2305040009891b713df22bd4bae7894c3ec" binds: - - /tmp:/etc/ssh + - /dev:/dev + - /var:/var - /tmp/etc/resolv.conf:/etc/resolv.conf readonly: true net: host - uts: host capabilities: - CAP_SYS_ADMIN services: @@ -50,7 +50,7 @@ services: net: host pid: host binds: - - /tmp/authorized_keys:/root/.ssh/authorized_keys + - /var/config/ssh/authorized_keys:/root/.ssh/authorized_keys - /tmp/etc/resolv.conf:/etc/resolv.conf - name: nginx image: "nginx:alpine"