Displaying 1 result from an estimated 1 matches for "ee65716f2".
2018 Nov 06
1
[PATCH] p2v: make-disk: rely on os-release for host distro detection
...e, and better matches the host OS.
This affects only the case when os-version is not specified as command
line argument.
---
p2v/virt-p2v-make-disk.in | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/p2v/virt-p2v-make-disk.in b/p2v/virt-p2v-make-disk.in
index bdf7fd96e..ee65716f2 100644
--- a/p2v/virt-p2v-make-disk.in
+++ b/p2v/virt-p2v-make-disk.in
@@ -122,12 +122,8 @@ if [ $# -eq 1 ]; then
else
# If osversion was not set, then we must guess a good value
# based on the host distro.
- if test -f /etc/redhat-release; then
- osversion="$(virt-builder...