In this section, we're going to look at how to list services that are installed, but will never run on your host, generally because they're not enabled to do so.
Listing installed services
Getting ready
Connect to your centos1 VM.
$ vagrant ssh centos1
How to do it...
Run the following as your user:
$ systemctl list-unit-files --type service
By default, you'll be dropped into a typically long list of services. A lot of these will be listed as static, some will be enabled, and others will be disabled.
As far as systemd is concerned, this is a list of all...