# OpenNebula Transfer Options, required for remote OpenNebula server
#:http_transfer: false                    # Enable HTTP transfer
#:http_host: '192.168.0.10'               # Hostname of this server
#:http_port: 29869                        # HTTP Port to transfer over
#:allow_local_path_remote: false          # Allow local PATH image allocation with a remote OpenNebula endpoint only when work_dir is shared at the same path.

# vCenter Authentication
#:vcenter: '172.20.0.123'                 # vCenter hostname or IP
#:vuser: 'administrator@vsphere.local'    # vCenter username
#:vpass: 'changeme123'                    # vCenter password
#:port: 443                               # vCenter port
#:accept_cert: false                      # Accept SSL certificates for vCenter connections

# ESXi Authentication
#:esxi_ip: '172.20.0.123'                 # ESXi hostname or IP
#:esxi_user: 'root'                       # ESXi username. Also used by delta prepare/commit when passwordless SSH is not available.
#:esxi_pass: 'changeme123'                # ESXi password. Also used by delta prepare/commit when passwordless SSH is not available.

# Transfer Options
#:custom_convert:                         # Uses OpenNebula's custom conversion process, useful for distributions which are not supported or fail to convert
#:fallback:                               # Fallback to OpenNebula's custom conversion process
#:hybrid:                                 # Transfer using rbvmomi2's download, then convert with virt-v2v locally
# Number of parallel HTTP Range downloads used by hybrid datastore transfers.
# Applies only to --hybrid mode. Default is 1, which preserves the existing
# single-stream download behavior.
#:download_stripes: 1
#:img_wait:                               # Amount of time to wait in seconds for image to be created in OpenNebula, default: 120

# Dry-run Estimator Options
#:dry_run_source_export_mib_s: 80         # Fallback source/export throughput in MiB/s. Delta dry-run prefers measured prepare transfer throughput when available.
#:dry_run_qcow2_conversion_mib_s: 120     # Fallback qcow2 conversion/delta-apply throughput in MiB/s when measured prepare conversion is unavailable.
#:dry_run_target_import_mib_s: 80         # Fallback OpenNebula image import throughput in MiB/s. Tune for the frontend/datastore import path, not only network speed.
#:dry_run_delta_os_morph_seconds: 480     # Fallback final virt-v2v-in-place / OS morph duration for delta dry-run.
#:dry_run_guest_customization_seconds: 180  # Fallback guest inspect/customization/qemu-ga/context duration for delta dry-run.
#:dry_run_import_benchmark_size_mib: 4096 # Temporary non-sparse raw image size for --dry-run --benchmark-import. Small files can be dominated by OpenNebula fixed overhead.
#:dry_run_source_benchmark_size_mib: 1024 # Temporary VMware datastore file size for --dry-run --benchmark-export.

# Import Options
#:ova: /path/to/ova                       # Path to OVA or folder with OVF files

# Convert Options
#:clone: false                            # Trigger a VM full clone and convert that clone without requiring to poweroff the original VM

# NIC Options
#:network: 1                              # ID of the OpenNebula network
#:skip_ip: false                          # Do not create IP in OpenNebula network
#:skip_mac: false                         # Do not create MAC in OpenNebula network

# Datastore Options
#:datastore: 1                            # ID of the OpenNebula Image datastore

# virt-v2v Options
#:work_dir: '/var/tmp'                        # Directory where disk conversion takes place, will make subdir for each VM
#:format: 'qcow2'                         # Disk format [ qcow2 | raw ]
#:vddk_path:                              # Path to VDDK library
#:qemu_ga_win:                            # Path to QEMU Guest Agent ISO for Windows
#:qemu_ga_linux:                          # Install QEMU Guest Agent for Linux
#:virtio_path:                            # Path to VirtIO drivers for Windows
#:virt_tools: /usr/local/share/virt-tools # Path to the directory containing rhsrvany.exe
#:v2v_path: 'virt-v2v'                    # Path to virt-v2v
#:libguestfs_path: /var/lib/one/libguestfs-appliance # Path to prebuilt libguestfs appliance for non-root execution
#:root: 'first'                           # Choose the root filesystem to be converted

# Extra Options
#:delete: false                           # Delete the VM Disks after transfer
#:context: '/var/lib/one/context/'        # Path to OpenNebula context packages
#:context_min_free: 1024                  # Minimum free MB on the guest root filesystem before context injection (0 to disable)
#:context_fail_on_low_space: false        # Fail the disk conversion (instead of warning and skipping) when free space is below the threshold
#:context_timeout: 600                    # Max seconds for each context injection command before it is aborted (0 to disable)
#:remove-vmtools: false                   # Add context script to force remove of VMWare Tools
#:uefi_path: '/usr/share/OVMF/OVMF_CODE.fd'                 # Path to the UEFI file to be configured in the VM template.
#:uefi_sec_path: '/usr/share/OVMF/OVMF_CODE.secboot.fd'     # Path to the UEFI Secure file to be configured in the VM template.

# Logging Options
#:verbose: true                           # Verbose mode: log at DEBUG and echo diagnostics to the terminal (STDERR) as well as /var/log/one/oneswap.log. Equivalent to the -v/--verbose flag or the ONE_SWAP_DEBUG env var. Note: like every option here, an uncommented value takes precedence over the command line.

# OpenNebula Placement Options
#:one_cluster:                            # ID of the OpenNebula Cluster
#:one_host:                               # ID of the OpenNebula Host
#:one_datastore:                          # ID of the OpenNebula System Datastore
#:one_datastore_cluster:                  # ID of the OpenNebula Cluster for automatic Datastore assignment

# OpenNebula Ownership Options
#:one_user:                               # Assign migrated objects to this OpenNebula user (name or numeric ID)
#:one_group:                              # Assign migrated objects to this OpenNebula group (name or numeric ID)

# Extra VM Options:
#:dev_prefix:                             # Device prefix for the VM disks ex: sd, hd, vd
#:cpu_model:                              # CPU model
#:graphics_type:                          # Graphics type: vnc, sdl, spice
#:graphics_listen:                        # Graphics listen IP
#:graphics_port:                          # Graphics port
#:graphics_keymap:                        # Graphics keymap
#:graphics_password:                      # Graphics password
#:graphics_command:                       # Graphics command
#:disable_contextualization:              # Remove default contextualization options in OpenNebula, Default: Network and SSH enabled
#:persistent_img:                         # Persistent Image, default: false
#:memory_max:                             # Memory max in MB
#:vcpu_max:                               # vCPU max allowed in integer format. CPU Hot Add required in VMWare.
#:cpu:                                    # Physical CPU allowed in integer format. Default: match CPU cores from vCenter
#:vcpu:                                   # vCPU allowed in integer format. Default: match CPU cores from vCenter
