Skip to content

Blueprint Provisioning

Alex Karasulu edited this page Mar 13, 2018 · 10 revisions

Blueprint provisioning occurs in two modes:

  • Peer mode - builds peer local environments with the blueprint (no Bazaar)
  • Bazaar mode - builds bazaar environments with the blueprint

Provisioning Settings

The mode is selected by setting the value of the configuration parameter SUBUTAI_ENV_TYPE to either peer or bazaar respectively. If users do NOT specify SUBUTAI_ENV_TYPE in the vagrant-subutai.yml file the following smart defaults are used based on bazaar registration settings:

  • 'peer' mode is used when the PeerOS is not registered to the Bazaar
  • 'bazaar' mode is used when the PeerOS is registered to the Bazaar.

Usage

  1. Place the blueprint file, Subutai.json, as a sibling next to the Vagrantfile
  2. Edit vagrant-subutai.yml to set settings including the SUBUTAI_ENV_TYPE
  3. Run vagrant provision or vagrant subutai blueprint to provision the blueprint

The command asks for the credentials of the PeerOS or the Bazaar account based on the user variables specified in the Subutai.json file.

[WARNING] if you have a new PeerOS make sure to change the default UI console password. It’s default credentials are ‘admin’ / ‘secret’.