Unverified Commit 75a09904 authored by Steven Danna's avatar Steven Danna
Browse files

Fix Ubuntu version in generated README.md



The `ubuntu-1204` kitchen is no longer available in our default
generated omnibus project. This fixes the README we generate to
account for that.

Also, now we source the omnibus toolchain to make sure we have access
to bundler.
Signed-off-by: default avatarSteven Danna <steve@chef.io>
parent f38dcb57
......@@ -47,7 +47,7 @@ $ bin/omnibus clean <%= config[:name] %> --purge
### Publish
Omnibus has a built-in mechanism for releasing to a variety of "backends", such
as Amazon S3. You must set the proper credentials in your
as Amazon S3. You must set the proper credentials in your
[`omnibus.rb`](omnibus.rb) config file or specify them via the command line.
```shell
......@@ -105,17 +105,17 @@ individual build environment using the `kitchen` command.
```shell
$ bin/kitchen converge ubuntu-1204
$ bin/kitchen converge ubuntu-1804
```
Then login to the instance and build the project as described in the Usage
section:
```shell
$ bundle exec kitchen login ubuntu-1204
$ bin/kitchen login ubuntu-1804
[vagrant@ubuntu...] $ . load-omnibus-toolchain.sh
[vagrant@ubuntu...] $ cd <%= config[:name] %>
[vagrant@ubuntu...] $ bundle install
[vagrant@ubuntu...] $ ...
[vagrant@ubuntu...] $ bin/omnibus build <%= config[:name] %>
```
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment