-
Notifications
You must be signed in to change notification settings - Fork 2
Blueprint Provisioning
Alex Karasulu edited this page Mar 13, 2018
·
10 revisions
- Peer mode - builds peer local environments with the blueprint (no Bazaar)
- Bazaar mode - builds bazaar environments with the blueprint
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.
- Place the blueprint file, Subutai.json, as a sibling next to the Vagrantfile
- Edit vagrant-subutai.yml to set settings including the SUBUTAI_ENV_TYPE
- Run
vagrant provision
orvagrant 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’.