Files
gitea-pages/admin-guide/mgmt-tools/bob.rst
2023-05-10 17:00:06 +02:00

52 lines
3.3 KiB
ReStructuredText

bob - a CLI sysdb client
========================
``bob`` is a command-line client for sysdb. It supports adding, updating, and
retrieving information about environments, nodes, MAC addresses and attributes.
It can authenticate using Kerberos credentials or username/password pairs.
For more information about bob refer to https://git.psi.ch/linux-infra/bob
Attributes
----------
The following attributes can be set for a node:
+------------------------+------------------+-----------+--------------------------------------------------------------------------------+
| attribute name | sample value | mandatory | meaning |
+========================+==================+===========+================================================================================+
| ``iface`` | ``enp225s0f0`` | no | the installation entry to use for automatic installation |
+------------------------+------------------+-----------+--------------------------------------------------------------------------------+
| ``ipxe_installer`` | ``rhel87install``| no | the installation entry to use for automatic installation (``netboot``) |
+------------------------+------------------+-----------+--------------------------------------------------------------------------------+
| ``network`` | ``static`` | no | network setup of the installed system; can be ``static`` or ``dhcp`` (default) |
+------------------------+------------------+-----------+--------------------------------------------------------------------------------+
| ``puppet_env`` | ``preprod`` | no | puppet environment with ``prod`` as default |
+------------------------+------------------+-----------+--------------------------------------------------------------------------------+
| ``puppet_role`` | ``role::server`` | yes | puppet role of the node. String should start with ``role::`` |
+------------------------+------------------+-----------+--------------------------------------------------------------------------------+
| ``puppet_group`` | ``computing`` | no | defines the group for the hiera values. If not set takes the ``default`` one |
+------------------------+------------------+-----------+--------------------------------------------------------------------------------+
| ``rootpw`` | ``$y$j9T$f...`` | no | root password hash |
+------------------------+------------------+-----------+--------------------------------------------------------------------------------+
root password
~~~~~~~~~~~~~
The root password can be set with the attribute ``rootpw``. The value
of the attribute must be the password hash, and can be generated with the command
``openssl passwd -6``
partitions
~~~~~~~~~~
Partition schema can be passed as a url using the ``partitions`` attribute.
It must be a publicly accessible url and its content will be copied into the
kickstart section related to the partition.
The usage of this attribute is generally discouraged and is provided to cover
only the cases that are not actually already covered by the installation system,
eg. the software raid configuration.