/etc/one/vmm_exec/custom.erb is in opennebula 3.2.1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #
# Virtual Machine Template generated for custom instance types.
# The CPU and MEMORY parameters will be specified in the body of the request.
# You can also add specific attributes for your cloud in this file (e.g. OS).
#
# Default values for VM capacity
<%
DEFAULT_CPU = 1
DEFAULT_MEMORY = 128
%>
CPU = "<%= @vm_info['CPU'].nil? ? DEFAULT_CPU : @vm_info['CPU'] %>"
MEMORY = "<%= @vm_info['MEMORY'].nil? ? DEFAULT_MEMORY : @vm_info['MEMORY'] %>"
|