Commit 8cf9ed47 authored by Luis Chamberlain's avatar Luis Chamberlain use systemctl is-active instead of status

This also avoids the pager on using kvm-boot.
Signed-off-by: default avatarLuis Chamberlain <>
parent 8ab7ba64
......@@ -115,11 +115,11 @@ kvm_boot_net_require_warn_exit()
systemctl status kvm-boot-vde2.service
systemctl is-active kvm-boot-vde2.service
if [ $? -ne 0 ]; then
return 1
systemctl status kvm-boot-dnsmasq.service
systemctl is-active kvm-boot-dnsmasq.service
if [ $? -ne 0 ]; then
return 1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment