Skip to content

Commit cf346fc

Browse files
authored
Services detection on flatcar (#6163)
systemd-based: ``` core@localhost ~ $ systemctl UNIT LOAD ACTIVE SUB DESCRIPTION > boot.automount loaded active running Boot partition Au> proc-sys-fs-binfmt_misc.automount loaded active waiting Arbitrary Executa> dev-disk-by\x2ddiskuuid-721fad77\x2dc395\x2d4420\x2da926\x2deff48fa62bfc.device loaded activating tentative /dev/disk/by-disk> sys-devices-pci0000:00-0000:00:01.1-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda1.device loaded active plugged VBOX_HARDDISK EFI> sys-devices-pci0000:00-0000:00:01.1-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda2.device loaded active plugged VBOX_HARDDISK BIO> sys-devices-pci0000:00-0000:00:01.1-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda3.device loaded active plugged VBOX_HARDDISK USR> sys-devices-pci0000:00-0000:00:01.1-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda4.device loaded active plugged VBOX_HARDDISK USR> sys-devices-pci0000:00-0000:00:01.1-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda6.device loaded active plugged VBOX_HARDDISK OEM sys-devices-pci0000:00-0000:00:01.1-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda7.device loaded active plugged VBOX_HARDDISK OEM> sys-devices-pci0000:00-0000:00:01.1-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda9.device loaded active plugged VBOX_HARDDISK ROOT ``` Signed-off-by: Tim Smith <tsmith84@gmail.com>
1 parent 3e2e775 commit cf346fc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

providers/os/resources/services/manager.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,8 @@ func ResolveManager(conn shared.Connection) (OSServiceManager, error) {
181181
osm = ResolveSystemdServiceManager(conn)
182182
case asset.Platform.Name == "nobara": // fedora based
183183
osm = ResolveSystemdServiceManager(conn)
184+
case asset.Platform.Name == "flatcar":
185+
osm = ResolveSystemdServiceManager(conn)
184186
}
185187

186188
if osm == nil {

0 commit comments

Comments
 (0)