Skip to content

Commit

Permalink
paths and fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mmariani committed Oct 31, 2016
1 parent 87c2c84 commit 232b036
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ lib/images:

docker-save: services-build player-build | lib/images
docker save -o lib/images/services.tar aic.senza
docker save -o lib/images/player.tar aic.ffserver aic.xorg aic.prjdata aic.avmdata aic.sdl aic.camera aic.audio aic.sensors
docker save -o lib/images/player.tar aic.ffserver aic.xorg aic.prjdata aic.avmdata aic.sdl aic.camera aic.audio aic.sensors aic.adb


#
Expand Down
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,12 +201,10 @@ $ ./bin/vm-create path/to/image

For the image path, substitute the folder containing the version of your choice:

| Version | Image Path |
| --------------- | ----------------------------- |
| Kitkat Phone | ./lib/images/android/4/gobyp |
| Kitkat Tablet | ./lib/images/android/4/gobyt |
| Lollipop Phone | ./lib/images/android/5/gobyp |
| Lollipop Tablet | ./lib/images/android/5/gobyt |
| Version | Image Path |
| --------------- | --------------------------------- |
| Kitkat Phone | ./lib/images/android/4.4.4/gobyp |
| Kitkat Tablet | ./lib/images/android/4.4.4/gobyt |


The new VM will be assigned a random ID. You can list the VMs with the command
Expand Down
1 change: 1 addition & 0 deletions bin/rabbitmq-create-exchanges
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ echo "Creating exchanges.."
for vm_dir in ${AIC_HOME}/lib/vms/*; do
vm_id=$(basename "${vm_dir}")
echo "VM ${vm_id}"
sleep 5
docker exec -ti senza /app/ats.senza/scripts/setup_rabbitmq "$vm_id"
done

2 changes: 1 addition & 1 deletion bin/vm-create
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ echo "VM images copied to vm directory."

################### Setup AMQP queues ##################################

docker exec -ti senza setup_rabbitmq "$vm_id"
docker exec -ti senza /app/ats.senza/scripts/setup_rabbitmq "$vm_id"

################### Fill XML template ##################################

Expand Down
2 changes: 1 addition & 1 deletion bin/vm-delete
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ tput setaf 6

tput setaf 1
export AIC_AVM_PREFIX="${vm_id}_"
docker exec -ti senza teardown_rabbitmq "$vm_id"
docker exec -ti senza /app/ats.senza/scripts/teardown_rabbitmq "$vm_id"
docker-compose -f "${AIC_HOME}/lib/docker/run-player.yml" -p "$vm_id" down || true
virsh destroy "$vm_id" || true
virsh undefine "$vm_id" || true
Expand Down

0 comments on commit 232b036

Please sign in to comment.