Skip to content

Commit

Permalink
Merge pull request #27 from OpenNebula/b-26
Browse files Browse the repository at this point in the history
B #26: fix virt tools path
  • Loading branch information
onenhansen authored Jun 25, 2024
2 parents 0f8a0da + 4631a94 commit 75965a0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions oneswap
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ CommandParser::CmdParser.new(ARGV) do
RHSRVANY = {
:name => 'virt_tools',
:large => '--virt-tools /path/to/virt-tools',
:description => 'Path to the directory containing rhsrvany.exe, defaults to /usr/share/virt-tools. See https://github.com/rwmjones/rhsrvany.',
:description => 'Path to the directory containing rhsrvany.exe, defaults to /usr/local/share/virt-tools. See https://github.com/rwmjones/rhsrvany.',
:format => String
}

Expand Down Expand Up @@ -554,7 +554,7 @@ CommandParser::CmdParser.new(ARGV) do
options[:context] ||= '/var/lib/one/context/'
options[:esxi_user] ||= 'root'
options[:datastore] ||= 1
options[:virt_tools] ||= '/usr/share/virt-tools'
options[:virt_tools] ||= '/usr/local/share/virt-tools'
options[:v2v_path] ||= 'virt-v2v'
options[:config_file] ||= '/var/lib/one/oneswap.yaml'

Expand Down
16 changes: 8 additions & 8 deletions oneswap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@
#:datastore: 1 # ID of the OpenNebula Image datastore

# virt-v2v Options
#:work_dir: '/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/share/virt-tools # Path to the directory containing rhsrvany.exe
#:v2v_path: 'virt-v2v' # Path to virt-v2v
#:work_dir: '/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

# Extra Options
#:delete: false # Delete the VM Disks after transfer
Expand Down

0 comments on commit 75965a0

Please sign in to comment.