summaryrefslogtreecommitdiffstats
path: root/doc/server/admin/init.txt
blob: 3e36f09b5d959ae513313885bbe1968a492b4699 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
.. -*- mode: rst -*-

.. _server-admin-init-index:

init
====

Interactively initialize a new repository.  Most values are automatically
detected or a default value is provided. ::

    bcfg2-admin init
    Store bcfg2 configuration in [/etc/bcfg2.conf]: 
    Location of bcfg2 repository [/var/lib/bcfg2]: 
    Input password used for communication verification (without echoing; leave blank for a random): 
    What is the server's hostname [conf01.example.com]: 
    Input the server location [https://conf01.example.com:6789]: 
    Input base Operating System for clients:
    1: Red Hat/Fedora/RHEL/RHAS/Centos
    2: SUSE/SLES
    3: Mandrake
    4: Debian
    5: Ubuntu
    6: Gentoo
    7: FreeBSD
    : 1

    Generating a 2048 bit RSA private key
    .....................+++
    .....................+++
    writing new private key to '/etc/bcfg2.key'
    -----
    Signature ok
    subject=/C=US/ST=Illinois/L=Argonne/CN=conf01.example.com
    Getting Private key

A toplevel repository structure was created under the provided path. ::

    /var/lib/bcfg2
    |-- Base
    |-- Bundler
    |-- Cfg
    |-- etc
    |-- Metadata
    |-- Pkgmgr
    |-- Rules
    `-- SSHbase