Skip to content

Commit

Permalink
Merge pull request #1723 from chef/lbakerchef/omnibus-patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
lbakerchef committed Aug 20, 2019
2 parents c2b2681 + 9a8a624 commit bf33e67
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions omnibus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ command.
Please either use ChefDK or install the latest test-kitchen from Rubygems.

```shell
$ kitchen converge ubuntu-1204
$ kitchen converge ubuntu-1604
```

Test Kitchen uses a regex syntax to match on plaforms, so for example ubuntu 10.04
Expand All @@ -174,19 +174,21 @@ Then login to the instance and build the project as described in the Usage
section:

```shell
$ kitchen login ubuntu-1204
$ kitchen login ubuntu-1604
[vagrant@ubuntu...] $ . load-omnibus-toolchain.sh
[vagrant@ubuntu...] $ cd chef-server/omnibus
[vagrant@ubuntu...] $ sudo chown -R vagrant ~/.bundle/
[vagrant@ubuntu...] $ bundle install --binstubs
...
[vagrant@ubuntu...] $ bin/omnibus build chef-server -l internal
```
or if you prefer not to use binstubs and to use bundle exec instead:

```shell
$ kitchen login ubuntu-1204
$ kitchen login ubuntu-1604
[vagrant@ubuntu...] $ . load-omnibus-toolchain.sh
[vagrant@ubuntu...] $ cd chef-server/omnibus
[vagrant@ubuntu...] $ sudo chown -R vagrant ~/.bundle/
[vagrant@ubuntu...] $ bundle install
...
[vagrant@ubuntu...] $ bundle exec omnibus build chef-server -l internal
Expand Down

0 comments on commit bf33e67

Please sign in to comment.