Skip to content
This repository was archived by the owner on Oct 11, 2023. It is now read-only.

Conversation

@ibuildthecloud
Copy link
Contributor

No description provided.

@imikushin
Copy link
Contributor

Interesting!

@imikushin
Copy link
Contributor

I've put the following to /var/lib/rancher/conf/cloud-config.d dir and rebooted:
nginx.yml:

#compose
nginx:
  image: nginx
  links:
  - network
  restart: always
  net: host

Didn't work (nginx container didn't start). Here's what ended up in cloud-config-processed.yml:

#cloud-config
nginx:
  image: nginx
  links:
  - network
  net: host
  restart: always
ssh_authorized_keys: null

I guess nginx key should've been put under services.

You can now put FOO* in the compose environment and it will find all
environment variables that start with FOO
@ibuildthecloud
Copy link
Contributor Author

@imikushin I'll look into that. I haven't fully tested all the permutations of configuration. I'm going to merge this PR even though I know there are some bugs. This way we can cut a rc3 and do more extensive testing.

ibuildthecloud added a commit that referenced this pull request Apr 16, 2015
@ibuildthecloud ibuildthecloud merged commit 9d21b31 into rancher:master Apr 16, 2015
@ibuildthecloud
Copy link
Contributor Author

@imikushin check out https://github.com/rancherio/os-services. You can change the URL RancherOS looks at so you can fork that repo and try to add new stuff. If you do rancherctl service list it should list what is in index.yml

We're working on docs (and a real docs website)

@deniseschannon
Copy link

@ibuildthecloud the rancherctl service list doesn't work in v0.3.0-rc3.

I get this error.

ERRO[0000] Failed to load https://raw.githubusercontent.com/rancherio/os-services/master/index.yml: non-200 http response: 404
disabled ubuntu-console

Logged a bug: #187

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, that's the worse when you have typos in type names.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants