summaryrefslogtreecommitdiffstats
path: root/doc/server/admin/client.txt
blob: cb3234a3e32aec3b6665fe01d82bb903d32dca16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
.. -*- mode: rst -*-

.. _server-admin-client-index:

client
======

Create, delete, list, or modify client entries. ::

    bcfg2-admin client add <client> attr1=val1 attr2=val2

Allowed attributes are *profile*, *uuid*, *password*, *location*, *secure*, 
and *address*.

A full example is shown below:: 

    bcfg2-admin client add laptop02.example.com profile="basic"

For more details please refer to the
:ref:`Metadata section <server-plugins-grouping-metadata>`.

With ``list`` the file ``clients.xml`` is parsed and all entries are shown::

    bcfg2-admin client list
    server01.example.com
    laptop02.example.com