Skip to content

Commit

Permalink
Merge pull request #1750 from chef/lbakerchef/readme-execution-strings
Browse files Browse the repository at this point in the history
Add copy/paste execution strings for convenient builds
  • Loading branch information
PrajaktaPurohit authored Oct 9, 2019
2 parents 0f140a6 + 9639e59 commit 0fe0ae1
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion omnibus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,14 @@ $ kitchen login ubuntu-1604
...
[vagrant@ubuntu...] $ bin/omnibus build chef-server -l internal
```
or if you prefer not to use binstubs and to use bundle exec instead:

Alternatively, paste this single line into your shell after `kitchen login ...` :

```shell
cd && . load-omnibus-toolchain.sh && cd chef-server/omnibus && sudo chown -R vagrant ~/.bundle/ && bundle install --binstubs && bin/omnibus build chef-server -l internal
```

Or if you prefer not to use binstubs and want to use bundle exec instead:

```shell
$ kitchen login ubuntu-1604
Expand All @@ -194,5 +201,11 @@ $ kitchen login ubuntu-1604
[vagrant@ubuntu...] $ bundle exec omnibus build chef-server -l internal
```

Alternatively, paste this single line into your shell after `kitchen login ...` :

```shell
cd && . load-omnibus-toolchain.sh && cd chef-server/omnibus && sudo chown -R vagrant ~/.bundle/ && bundle install && bin/omnibus build chef-server -l internal
```

For a complete list of all commands and platforms, run `kitchen list` or
`kitchen help`.

0 comments on commit 0fe0ae1

Please sign in to comment.