Module: computer¶
This module is used to deal with all things related to the computer.
Members¶
- linuxmusterLinuxclient7.computer.hostname()[source]¶
Get the hostname of the computer
- Returns
The hostname
- Return type
- linuxmusterLinuxclient7.computer.isInAD()[source]¶
Check if the computer is joined to an AD
- Returns
True or False
- Return type
- linuxmusterLinuxclient7.computer.isInGroup(groupName)[source]¶
Check if the computer is part of an ldap group
- Parameters
groupName – The name of the group to check
- Returns
True or False
- Return type