diskimage-builder/elements/os-svc-install
Tim Miller 5b99028acf Correctly translate all branches/tags/shas:
The code which raises an error if two elements try
to install different versions of the same git repo
currently works correctly for SHAs, or if a branch
is specified first, followed by a SHA.

However it fails if two branches are specified, because
the shallow clone does not fetch all branch heads.

This change correctly handles any combination of
SHAs/branch-heads/tags.

Change-Id: I501e94150ddeb41b79588816576a5d7a06fa92aa
2013-03-12 11:59:18 -07:00
..
bin Correctly translate all branches/tags/shas: 2013-03-12 11:59:18 -07:00
pre-install.d Seperate install of services and start scripts: 2013-03-07 11:45:41 -08:00
README.md Consolidate common OS installation into a script: 2013-02-13 11:06:00 -08:00

Installs 'os-svc-install', a script to perform one-line installs of init-controlled openstack services from github.

Example Usage

os-svc-install -u nova -n nova-all -c 'nova-all --someoption' -r https://github.com/openstack/nova.git

The above command will pip-install the repo specified by '-r', and create a service start script called nova-all (from -n), which starts the command specified by -c as user -u