mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-18 05:53:36 +01:00
fix (nuageinit): SSH keys are not handled in metadata but in userdata
MFC After: 1 day
This commit is contained in:
parent
7975f57b7e
commit
48edad2edf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user