aboutsummaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorJeremy Collin <jeremy.collin@ovhcloud.com>2024-05-21 14:52:23 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2024-05-21 14:52:42 +0000
commit48edad2edf6eb7a539e40dad8e1f87e3fa4973fd (patch)
treef132088dc0008dc3b12047075b54704c2b9e772c /libexec
parent7975f57b7e14b146ca730421ef9e2094c242e9c0 (diff)
downloadsrc-48edad2edf6eb7a539e40dad8e1f87e3fa4973fd.tar.gz
src-48edad2edf6eb7a539e40dad8e1f87e3fa4973fd.zip
fix (nuageinit): SSH keys are not handled in metadata but in userdata
MFC After: 1 day
Diffstat (limited to 'libexec')
-rwxr-xr-xlibexec/nuageinit/nuageinit7
1 files changed, 0 insertions, 7 deletions
diff --git a/libexec/nuageinit/nuageinit b/libexec/nuageinit/nuageinit
index 08224061d1b1..df637bbc5064 100755
--- a/libexec/nuageinit/nuageinit
+++ b/libexec/nuageinit/nuageinit
@@ -164,13 +164,6 @@ if citype == "config-2" then
nuage.err("nuageinit: error parsing config-2: meta_data.json: " .. err)
end
local obj = parser:get_object()
- local sshkeys = obj["public_keys"]
- if sshkeys then
- local homedir = nuage.adduser(default_user)
- for _,v in pairs(sshkeys) do
- nuage.addsshkey(root .. homedir, v)
- end
- end
nuage.sethostname(obj["hostname"])
-- network