mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
bug #3314: Creating a vnet reservation with spaces in the name gives error
(cherry picked from commit f9299ea90004190dd98184092976848268563e39)
This commit is contained in:
parent
25d6aa515f
commit
4ad51bc884
@ -236,7 +236,7 @@ module OpenNebula
|
||||
return Error.new('ID not defined') if !@pe_id
|
||||
|
||||
rtmpl = "SIZE = #{rsize}\n"
|
||||
rtmpl << "NAME = #{rname}\n" if !rname.nil?
|
||||
rtmpl << "NAME = \"#{rname}\"\n" if !rname.nil?
|
||||
rtmpl << "AR_ID = #{ar_id}\n" if !ar_id.nil?
|
||||
rtmpl << "NETWORK_ID = #{vnet}\n" if !vnet.nil?
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user