Date: Wed, 22 May 2024 06:52:07 GMT From: Baptiste Daroussin <bapt@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 5601feb7204b - stable/14 - fix (nuageinit): SSH keys are not handled in metadata but in userdata Message-ID: <202405220652.44M6q76w040349@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by bapt: URL: https://cgit.FreeBSD.org/src/commit/?id=5601feb7204b2ebb4c351b534105da8fc22213fd commit 5601feb7204b2ebb4c351b534105da8fc22213fd Author: Jeremy Collin <jeremy.collin@ovhcloud.com> AuthorDate: 2024-05-21 14:52:23 +0000 Commit: Baptiste Daroussin <bapt@FreeBSD.org> CommitDate: 2024-05-22 06:51:33 +0000 fix (nuageinit): SSH keys are not handled in metadata but in userdata MFC After: 1 day (cherry picked from commit 48edad2edf6eb7a539e40dad8e1f87e3fa4973fd) --- libexec/nuageinit/nuageinit | 7 ------- 1 file changed, 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202405220652.44M6q76w040349>