mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
Fix typo in EC2 erb files(cherry picked from commit da27759b7c04dd026a573852d8cff0aae8973325)
This commit is contained in:
parent
d293f45b8d
commit
1b24879d7a
@ -6,9 +6,9 @@
|
||||
<item>
|
||||
<imageId>ami-<%= sprintf('%08i', im.id) %></imageId>
|
||||
<imageLocation><%= im['SOURCE'].split('/').last %></imageLocation>
|
||||
<% if im['STATE'] == '4' %>
|
||||
<% if im['STATE'] == '3' %>
|
||||
<imageState>deregistered</imageState>
|
||||
<% elsif im['STATE'] == '2' %>
|
||||
<% elsif im['STATE'] == '1' || im['STATE'] == '2' %>
|
||||
<imageState>available</imageState>
|
||||
<% end %>
|
||||
<imageOwnerId><%= erb_user_name %></imageOwnerId>
|
||||
|
@ -9,7 +9,7 @@
|
||||
<instancesSet>
|
||||
<item>
|
||||
<instanceId>i-<%= erb_vm_info[:vm_id] %></instanceId>
|
||||
<imageId><%= erb_vm_info[:img_id] %></imageId>
|
||||
<imageId><%= erb_vm_info[:ec2_img_id] %></imageId>
|
||||
<instanceState>
|
||||
<code>0</code>
|
||||
<name>pending</name>
|
||||
|
Loading…
x
Reference in New Issue
Block a user