OnWorks favicon

bcfg2 - Online in the Cloud

Run bcfg2 in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command bcfg2 that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



bcfg2 - Bcfg2 client tool


bcfg2 [options]


bcfg2 runs the Bcfg2 configuration process on the current host. This process consists of
the following steps.

· Fetch and execute probes

· Upload probe results

· Fetch the client configuration

· Check the current client state

· Attempt to install the desired configuration

· Upload statistics about the Bcfg2 execution and client state


-B Configure everything except the given bundle(s).

-C configfile
Specify alternate bcfg2.conf location.

-D drivers
Specify a comma-delimited set of Bcfg2 tool drivers. NOTE: only drivers listed will
be loaded. (e.g., if you do not include POSIX, you will be unable to verify/install
Path entries).

-E encoding
Specify the encoding of config files.

-I Run bcfg2 in interactive mode. The user will be prompted before each change.

-O Omit lock check.

-P Run bcfg2 in paranoid mode. Diffs will be logged for configuration files marked as
paranoid by the Bcfg2 server.

-Q Run bcfg2 in "bundle quick" mode, where only entries in a bundle are verified or
installed. This runs much faster than -q, but doesn't provide statistics to the
server at all. In order for this option to work, the -b option must also be
provided. This option is incompatible with -r.

-R retrycount
Specify the number of times that the client will attempt to retry network

-S server
Manually specify the server location (as opposed to using the value in bcfg2.conf).
This should be in the format "https://server:port"

-Z Do not configure independent entries.

-b bundles
Run only the specified colon-delimited set of bundles.

-c cachefile
Cache a copy of the configuration in cachefile.

Specifiy the path to the SSL CA certificate.

-d Enable debugging output.

-e When in verbose mode, display extra entry information.

-f path
Configure from a file rather than querying the server.

-h Print usage information.

-k Run in bulletproof mode. This currently only affects behavior in the debian
toolset; it calls apt-get update and clean and dpkg --configure --pending.

-l decisionmode
Run the client in the specified decision list mode ("whitelist" or "blacklist"), or
"none", which can be used in order to override the decision list mode specified in
bcfg2.conf). This approach is needed when particular changes are deemed "high
risk". It gives the ability tocentrally specify these changes, but only install
them on clients when administrator supervision is available. Because collaborative
configuration is one of the remaining hard issues in configuration management,
these issues typically crop up in environments with several administrators and much
configuration variety. (This setting will be ignored if the -f option is also

-n Run bcfg2 in dry-run mode. No changes will be made to the system.

-o logfile
Writes a log to the specified path.

-p profile
Assert a profile for the current client.

-q Run bcfg2 in quick mode. Package checksum verification won't be performed. This
mode relaxes the constraints of correctness, and thus should only be used in safe

-r mode
Cause bcfg2 to remove extra configuration elements it detects. Mode is one of
"all", "Services", "Packages", or "Users". "all" removes all extra entries.
"Services", "Packages", and "Users" remove only the extra configuration elements of
the respective type. ("Services" actually just disables extra services, since they
can't be removed, and "Users" removes extra POSIXUser and POSIXUser entries.)

-s servicemode
Set bcfg2 interaction level for services. Default behavior is to modify all
services affected by reconfiguration. "build" mode attempts to stop all services
started. "disabled" suppresses all attempts to modify services.

Specify the path to the SSL certificate.

Colon-delimited list of acceptable SSL server Common Names.

Specify the path to the SSL key.

-u user
Attempt to authenticate as 'user'.

-t timeout
Set the timeout (in seconds) for client communication. Default is 90 seconds.

-v Run bcfg2 in verbose mode.

-x password
Use 'password' for client communication.

-z Only configure independent entries, ignore bundles.

Use bcfg2 online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Clementine is a multi-platform music
    player and library organizer inspired by
    Amarok 1.4. It has a fast and
    easy-to-use interface, and allows you to
    search and ...
    Download Clementine
  • 2
    ATTENTION: Cumulative update 2.4.3 has
    been released!! The update works for any
    previous 2.x.x version. If upgrading
    from version v1.x.x, please download and
    Download XISMuS
  • 3
    Modular headtracking program that
    supports multiple face-trackers, filters
    and game-protocols. Among the trackers
    are the SM FaceAPI, AIC Inertial Head
    Tracker ...
    Download facetracknoir
  • 4
    PHP QR Code
    PHP QR Code
    PHP QR Code is open source (LGPL)
    library for generating QR Code,
    2-dimensional barcode. Based on
    libqrencode C library, provides API for
    creating QR Code barc...
    Download PHP QR Code
  • 5
    Cuckoo Sandbox
    Cuckoo Sandbox
    Cuckoo Sandbox uses components to
    monitor the behavior of malware in a
    Sandbox environment; isolated from the
    rest of the system. It offers automated
    analysis o...
    Download Cuckoo Sandbox
  • 6
    Play YouTube video on LMS (porting of
    Triode's to YouTbe API v3) This is
    an application that can also be fetched
    Download LMS-YouTube
  • 7
    dotnet sdk
    dotnet sdk
    Core functionality needed to createNET
    Core projects, that is shared between
    Visual Studio and CLI. There are no fees
    or licensing costs, including for
    Download dotnet sdk
  • More »

Linux commands