1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

M #-: fix minor bug in Packet provider (#1193)

(cherry picked from commit 2988bb3661b611001e5846c4de4546544acc2120)
This commit is contained in:
Alejandro Huertas Herrero 2021-05-06 17:04:20 +02:00 committed by Ruben S. Montero
parent 55b32038f5
commit 7f0816fb9e
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -57,7 +57,7 @@ module OneProvision
ssh_key.split("\n").each {|key| user_data << "- #{key}\n" }
Base64.strict_encode64(user_data)
user_data.gsub("\n", '\\n')
end
end