005f272767
Add warning about virt-v2v-in-place not being supported resolves: RHEL-40903 Add more fields to virt-inspector output related: MTV-1079 Revert "docs: Remove paragraph about -ip passwords and ssh/scp" resolves: RHEL-45527
25 lines
917 B
Diff
25 lines
917 B
Diff
From e08b337b0b36763b437901a6480d49f63f911ce9 Mon Sep 17 00:00:00 2001
|
|
From: "Richard W.M. Jones" <rjones@redhat.com>
|
|
Date: Tue, 9 Jul 2024 11:30:09 +0100
|
|
Subject: [PATCH] RHEL: Add warning about virt-v2v-in-place not being supported
|
|
|
|
Fixes: https://issues.redhat.com/browse/RHEL-40903
|
|
---
|
|
in-place/in_place.ml | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/in-place/in_place.ml b/in-place/in_place.ml
|
|
index 2049db16..2a031271 100644
|
|
--- a/in-place/in_place.ml
|
|
+++ b/in-place/in_place.ml
|
|
@@ -33,6 +33,9 @@ let mac_re = PCRE.compile "^([[:xdigit:]]{2}:[[:xdigit:]]{2}:[[:xdigit:]]{2}:[[:
|
|
let mac_ip_re = PCRE.compile "^([[:xdigit:]]|:|\\.)+$"
|
|
|
|
let rec main () =
|
|
+ warning "virt-v2v-in-place is NOT SUPPORTED for command line use. \
|
|
+ It is almost always better to use virt-v2v instead of this tool.";
|
|
+
|
|
let set_string_option_once optname optref arg =
|
|
match !optref with
|
|
| Some _ ->
|