@@ -31,6 +31,8 @@ and control plane hosts through the provisioning network
31
31
32
32
|control_host_access |
33
33
34
+ .. _Making a Kayobe Checkout :
35
+
34
36
Making a Kayobe Checkout
35
37
------------------------
36
38
@@ -50,26 +52,21 @@ A Kayobe development environment can easily be set up using a script called
50
52
--kayobe-branch |kayobe_source_version| \
51
53
--kayobe-config-repo |kayobe_config_source_url| \
52
54
--kayobe-config-branch |kayobe_config_source_version| \
55
+ --kayobe-config-env-name <kayobe-environment-name> \
53
56
--vault-password-file |vault_password_file_path|
54
57
55
- After making the checkout, source the virtualenv and Kayobe config environment variables:
56
-
57
- .. code-block :: console
58
- :substitutions:
59
-
60
- kayobe# cd |base_path|
61
- kayobe# source venvs/kayobe/bin/activate
62
- kayobe# source src/kayobe-config/kayobe-env
58
+ If the system does not use Kayobe environment, you can omit ``--kayobe-config-env-name ``.
59
+ See the section :ref: `Kayobe Environments ` for more details.
63
60
64
- If you are using a Kayobe environment, you will instead need to specify which
65
- environment to source. See the section :ref: `Kayobe Environments ` for more details.
61
+ After making the checkout, source ``env-vars.sh ``.
66
62
67
63
.. code-block :: console
68
64
:substitutions:
69
65
70
- kayobe# source src/kayobe-config/kayobe-env --environment <env-name>
66
+ cd |base_path|
67
+ source env-vars.sh
71
68
72
- Set up any dependencies needed on the control host:
69
+ Then, set up any dependencies needed on the control host:
73
70
74
71
.. code-block :: console
75
72
@@ -84,15 +81,8 @@ such as IPMI credentials, Ceph account keys and OpenStack service credentials.
84
81
The vault of deployment secrets is protected by a password, which
85
82
conventionally is stored in a (mode 0400) file in the user home directory.
86
83
87
- An easy way to manage the vault password is to update ``.bash_profile `` to add
88
- a command such as:
89
-
90
- .. code-block :: console
91
- :substitutions:
92
-
93
- kayobe# export KAYOBE_VAULT_PASSWORD=$(cat |vault_password_file_path|)
94
-
95
- Or using ``env-vars.sh `` created from ``beokay `` if you used it.
84
+ An easy way to manage the vault password is using ``env-vars.sh `` created from ``beokay ``.
85
+ See the section :ref: `Making a Kayobe Checkout ` for details.
96
86
97
87
.. code-block :: console
98
88
:substitutions:
0 commit comments