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

M #-: fix minor bug in AWS provider (#1203)

(cherry picked from commit 47d3ebf387c3d192dd05b20f941923f31bb85cab)
This commit is contained in:
Alejandro Huertas Herrero 2021-05-11 16:29:19 +02:00 committed by Ruben S. Montero
parent 3fe9c39e7a
commit 6eb2378ffd
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -58,10 +58,7 @@ module OneProvision
ssh_key.split("\n").each {|key| user_data << "- #{key}\n" }
# Escape \n to avoid multilines in Terraform deploy file
user_data.gsub!("\n", '\\n')
user_data
Base64.strict_encode64(user_data)
end
end