Merge pull request #10 from mrkz/persistent_configuration

ciao-deploy: delegate the file edits out of the container
This commit is contained in:
Obed N Munoz
2016-11-03 15:03:06 -06:00
committed by GitHub
2 changed files with 21 additions and 11 deletions
-1
View File
@@ -6,7 +6,6 @@ ENV HOME=/root/
RUN swupd bundle-add cryptography sysadmin-hostmgmt go-basic c-basic openstack-common $swupd_args
RUN cp -r /usr/share/ansible/examples/ciao /root/
RUN ansible-galaxy install -r /root/ciao/requirements.yml --ignore-certs
RUN rm -rf /var/lib/swupd
+21 -10
View File
@@ -17,28 +17,39 @@ Or just pull it from Dockerhub
docker pull clearlinux/ciao-deploy
```
Clone the ciao example deployment
---------------------------------
```
git clone https://github.com/clearlinux/clear-config-management.git
```
Setup your cluster configuration
--------------------------------
You may need to edit `clear-config-management/examples/ciao/group_vars/all`
and `clear-config-management/examples/ciao/hosts` to suit your cluster
setup needs.
For more detailed instructions you may want to check
[Deploying ciao via automation](https://clearlinux.org/documentation/ciao-deploy.html)
documentation.
Run the Ciao-deploy Container
----------------------------
```
docker run -it clearlinux/ciao-deploy
docker run -v $(pwd)/clear-config-management/examples/ciao:/root/ciao \
-it clearlinux/ciao-deploy
```
If you have setup your ssh key for the ansible setup, you may want to use it
in your ciao-deploy container:
```
docker run -v /path/to/your/.ssh/key:/root/.ssh/key \
docker run -v $(pwd)/clear-config-management/examples/ciao:/root/ciao \
-v /path/to/your/.ssh/key:/root/.ssh/key \
-it clearlinux/ciao-deploy
```
Setup your cluster configuration
--------------------------------
You may need to edit `/root/ciao/group_vars/all` and `/root/ciao/hosts` to
suit your cluster setup needs.
For more detailed instructions you may want to check
[Deploying ciao via automation](https://clearlinux.org/documentation/ciao-deploy.html)
documentation.
Extra Build ARGs
----------------