Skip to content

Commit

Permalink
Add copy/paste execution strings to omnibus/README.md for convenient …
Browse files Browse the repository at this point in the history
…builds

Signed-off-by: Lincoln Baker <[email protected]>
  • Loading branch information
lbakerchef committed Oct 4, 2019
1 parent f6f4808 commit ce9eee3
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 ce9eee3

Please sign in to comment.