mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
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:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user