mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-20 10:50:08 +03:00
feature #699: Update EC2 small.erb file defining VNET by ID instead of NAME
This commit is contained in:
parent
3e177997e4
commit
bef0bad22b
@ -5,7 +5,7 @@ NAME = eco-vm
|
||||
CPU = 0.2
|
||||
MEMORY = 256
|
||||
|
||||
#Put here specific OS configurations for the cloud hypervisors
|
||||
# Put here specific OS configurations for the cloud hypervisors
|
||||
#OS = [ kernel = /vmlinuz,
|
||||
# initrd = /initrd.img,
|
||||
# root = sda1,
|
||||
@ -13,7 +13,8 @@ MEMORY = 256
|
||||
|
||||
DISK = [ IMAGE_ID = <%= erb_vm_info[:img_id] %> ]
|
||||
|
||||
NIC=[NETWORK="Public EC2"]
|
||||
# Put here the ID of the VNET with the IPs for the EC2 VMs
|
||||
NIC=[NETWORK_ID=<EC2-VNET-ID>]
|
||||
|
||||
IMAGE_ID = <%= erb_vm_info[:ec2_img_id] %>
|
||||
INSTANCE_TYPE = <%= erb_vm_info[:instance_type ]%>
|
||||
|
Loading…
x
Reference in New Issue
Block a user