mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-04 06:01:46 +09:00
M #-: fix minor bug in AWS provider (#1203)
This commit is contained in:
1 parent
ac026b4b63
commit
47d3ebf387
1 file changed
+1
-4
@@ -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
|
||||
|
||||
Reference in new issue
Block a user