Release preos, i.e. make it non-beta

remotes/origin/feature/shell-lib
Darko Poljak 5 years ago
parent b657ba8221
commit 97bcfcc23c
  1. 2
      cdist/argparse.py
  2. 1
      cdist/preos/debootstrap/debootstrap.py
  3. 4
      docs/src/cdist-preos.rst
  4. 9
      docs/src/man1/cdist.rst

2
cdist/argparse.py vendored

@ -9,7 +9,7 @@ import cdist.preos
# set of beta sub-commands
BETA_COMMANDS = set(('install', 'inventory', 'preos', ))
BETA_COMMANDS = set(('install', 'inventory', ))
# set of beta arguments for sub-commands
BETA_ARGS = {
'config': set(('tag', 'all_tagged_hosts', 'use_archiving', )),

@ -145,7 +145,6 @@ class Debian(object):
log = logging.getLogger(cls.__name__)
parser = cls.get_parser()
cdist.argparse.add_beta_command(cls._preos_name)
args = parser.parse_args(argv)
if args.script and not args.mirror:
raise cdist.Error("script option cannot be used without "

@ -24,12 +24,12 @@ For example, to create ubuntu PreOS:
.. code-block:: sh
$ cdist preos ubuntu /preos/preos-ubuntu -b -C \
$ cdist preos ubuntu /preos/preos-ubuntu -B -C \
-k ~/.ssh/id_rsa.pub -p /preos/pxe-ubuntu
For more info about available options see cdist manual page.
This will bootstrap (``-b``) ubuntu PreOS in ``/preos/preos-ubuntu`` directory, it
This will bootstrap (``-B``) ubuntu PreOS in ``/preos/preos-ubuntu`` directory, it
will be configured (``-C``) using default built-in initial manifest and with
specified ssh authorized key (``-k``).
After bootstrapping and configuration PXE

@ -734,8 +734,7 @@ EXAMPLES
% cdist config -f loadbalancers
# Configure hosts read from file web.hosts using 16 parallel jobs
# (beta functionality)
% cdist config -b -j 16 -f web.hosts
% cdist config -j 16 -f web.hosts
# Display banner
cdist banner
@ -792,16 +791,16 @@ EXAMPLES
$ cdist config -b -A
# Create default debian PreOS in debug mode
$ cdist preos debian /preos/preos-debian -b -vvvv -C \
$ cdist preos debian /preos/preos-debian -vvvv -C \
-k ~/.ssh/id_rsa.pub -p /preos/pxe-debian
# Create ubuntu PreOS
$ cdist preos ubuntu /preos/preos-ubuntu -b -C \
$ cdist preos ubuntu /preos/preos-ubuntu -C \
-k ~/.ssh/id_rsa.pub -p /preos/pxe-ubuntu
# Create ubuntu PreOS on drive /dev/sdb
# and set root password to 'password'.
$ cdist preos ubuntu /mnt -b -B -C \
$ cdist preos ubuntu /mnt -B -C \
-k ~/.ssh/id_rsa.pub -D /dev/sdb \
-P password

Loading…
Cancel
Save