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:
parent
55b32038f5
commit
7f0816fb9e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user