From 762f24c1f3ffabe7412a08f4ca302c5f614aaa9c Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Fri, 17 Jun 2016 12:47:13 +0100 Subject: [PATCH] p2v: In non-GUI mode, make sure the progress of virt-p2v is visible (RHBZ#1229386). By changing the logging mode of the p2v.service unit, we can make sure that the progress of virt-p2v is visible in non-GUI mode at the console. Since the output is now always shown on the console, there's no need to print the journalctl command for following that output when the user logs in. --- p2v/issue | 3 +-- p2v/p2v.service | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/p2v/issue b/p2v/issue index d4f2b1f6e..9896b6b75 100644 --- a/p2v/issue +++ b/p2v/issue @@ -3,10 +3,9 @@ virt-p2v - Convert a physical machine to use KVM. *** The root password is "p2v" (without quotes). -To see/follow the status of virt-p2v, do: +To see the status of virt-p2v, do: systemctl status p2v -l - journalctl -u p2v --follow Virt-p2v may take some time to start up. If virt-p2v is not running after a few minutes, you can start it by typing: diff --git a/p2v/p2v.service b/p2v/p2v.service index 7fecf666c..6825a2243 100644 --- a/p2v/p2v.service +++ b/p2v/p2v.service @@ -31,6 +31,8 @@ After=network.target Type=oneshot ExecStart=/usr/bin/launch-virt-p2v RemainAfterExit=yes +StandardOutput=journal+console +StandardError=inherit [Install] WantedBy=multi-user.target