Skip to content
This repository was archived by the owner on Aug 29, 2018. It is now read-only.

Commit e9a4ffb

Browse files
committed
Updating notes for dev support and aws key info
1 parent e3a5e56 commit e9a4ffb

File tree

1 file changed

+36
-1
lines changed

1 file changed

+36
-1
lines changed

README.asciidoc

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ This will clone 3 repositores from your link:http://www.github.com[GitHub] accou
4545
* link:http://github.com/openshift/origin-server[OpenShift Origin console, broker and node]
4646
* link:http://github.com/openshift/puppet-openshift_origin[Puppet module for OpenShift Origin]
4747

48+
NOTE: Skip this step if building upstream code
49+
4850
==== Initialize the Vagrantfile
4951

5052
Create a Vagrantfile and customize it to match your requirements:
@@ -234,9 +236,18 @@ NOTE: Its is a good idea to snapshot the VM after this step so that you don't ha
234236

235237
==== Sync and Build OpenShift packages
236238

239+
* Syncing and building code from local repository clones
240+
237241
[source, sh]
238242
----
239-
$ vagrant sync -l
243+
$ vagrant sync
244+
----
245+
246+
* Syncing and building code from upstream repositories
247+
248+
[source, sh]
249+
----
250+
$ vagrant sync --upstream
240251
----
241252

242253
==== Running OpenShift Origin Tests
@@ -252,6 +263,30 @@ $ vagrant test --all
252263
$ vagrant origin-test --extended --all
253264
----
254265

266+
== Other Notes
267+
268+
=== Developer environment
269+
270+
To enable easy customization of the build environment, any files placed under '\~/.openshiftdev/home.d' will be copied to
271+
the vagrant user home directory. For example: '~/.openshiftdev/home.d/.bash_profile' will be copied to '.bash_profile'
272+
on the vagrant VM.
273+
274+
=== AWS Credentials
275+
276+
Rather than have to add AWS credentials every time the Vagrantfile is created using origin-init command, you can
277+
specify your credentials in the '~/.awscreds' file and it will be automatically added to the Vagrantfile.
278+
279+
Example:
280+
281+
.'~/.awscreds'
282+
----
283+
AWSAccessKeyId=<AWS API Key>
284+
AWSSecretKey=<AWS API Secret>
285+
AWSKeyPair=<Keypair name>
286+
AWSPrivateKeyPath=<SSH Private key>
287+
----
288+
289+
255290
== Notice of Export Control Law
256291

257292
This software distribution includes cryptographic software that is subject to the U.S. Export Administration Regulations (the "*EAR*") and other U.S. and foreign laws and may not be exported, re-exported or transferred (a) to any country listed in Country Group E:1 in Supplement No. 1 to part 740 of the EAR (currently, Cuba, Iran, North Korea, Sudan & Syria); (b) to any prohibited destination or to any end user who has been prohibited from participating in U.S. export transactions by any federal agency of the U.S. government; or (c) for use in connection with the design, development or production of nuclear, chemical or biological weapons, or rocket systems, space launch vehicles, or sounding rockets, or unmanned air vehicle systems.You may not download this software or technical information if you are located in one of these countries or otherwise subject to these restrictions. You may not provide this software or technical information to individuals or entities located in one of these countries or otherwise subject to these restrictions. You are also responsible for compliance with foreign law requirements applicable to the import, export and use of this software and technical information.

0 commit comments

Comments
 (0)