From 922b303f1b4682fb8de3bf9e52a482cf06db58e4 Mon Sep 17 00:00:00 2001 From: Auke Kok Date: Mon, 23 Sep 2019 10:09:46 -0700 Subject: [PATCH] Don't create an abbreviated AWS user-data. --- src/ucd-data-fetch.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ucd-data-fetch.c b/src/ucd-data-fetch.c index e02ffe6..0d1d5b7 100644 --- a/src/ucd-data-fetch.c +++ b/src/ucd-data-fetch.c @@ -73,7 +73,11 @@ static struct cloud_struct config[MAX_CONFIGS] = { "/latest/meta-data/public-keys/0/openssh-key", "/latest/user-data", "#cloud-config\n" \ - "ssh_authorized_keys:\n - " + "users:\n" \ + " - name: clear\n" \ + " groups: wheelnopw\n" \ + "ssh-authorized-keys:\n" \ + " - " }, { "oci",