Fix cli example

- create nodes from VR
- remove old command
This commit is contained in:
Łukasz Oleś 2015-10-01 18:44:17 +02:00
parent 8eb5bd62ec
commit dcfdecf7ea
1 changed files with 1 additions and 2 deletions

View File

@ -4,9 +4,8 @@ set -eux
function deploy {
# this two commands will clean db
solar resource clear_all
solar connections clear_all
solar resource create node1 /vagrant/resources/ro_node ip=10.0.0.3 ssh_user=vagrant ssh_key='/vagrant/.vagrant/machines/solar-dev1/virtualbox/private_key'
solar resource create nodes templates/nodes.yaml '{"count": 1}'
solar resource create mariadb1 /vagrant/resources/mariadb_service image=mariadb port=3306
solar connect node1 mariadb1