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.
This commit is contained in:
Richard W.M. Jones
2016-06-17 12:47:13 +01:00
parent 3c7c63e1dc
commit 762f24c1f3
2 changed files with 3 additions and 2 deletions

View File

@@ -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:

View File

@@ -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