Skip to content

Commit

Permalink
Add root first to cold v2v command
Browse files Browse the repository at this point in the history
When importing from vSphere a multiple-boot operation system v2v will
ask the user which one to use. In our case virt-v2v isn't interactively.
Therefore, we will default to the first boot device as we done
previsouly.

Signed-off-by: Liran Rotenberg <[email protected]>
  • Loading branch information
liranr23 authored and ahadas committed Mar 12, 2024
1 parent 5e16980 commit b6d2cd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions virt-v2v/cold/entrypoint
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if [ "$V2V_source" == "vCenter" ] ; then
echo " V2V_libvirtURL, V2V_secretKey, V2V_vmName"
exit 1
fi
args+=(-i libvirt -ic "$V2V_libvirtURL")
args+=(--root first -i libvirt -ic "$V2V_libvirtURL")
fi

if [ "$V2V_source" == "ova" ] ; then
Expand Down Expand Up @@ -91,4 +91,4 @@ echo "Starting virt-v2v"
set -x
ls -l "$DIR"

exec "${args[@]}" |& /usr/local/bin/virt-v2v-monitor
exec "${args[@]}" |& /usr/local/bin/virt-v2v-monitor

0 comments on commit b6d2cd2

Please sign in to comment.