Skip to content

Instantly share code, notes, and snippets.

@EmbeddedAndroid
Created April 6, 2017 03:05
Show Gist options
  • Save EmbeddedAndroid/f8d3346a78f7e03a60ec986f0bb5e381 to your computer and use it in GitHub Desktop.
Save EmbeddedAndroid/f8d3346a78f7e03a60ec986f0bb5e381 to your computer and use it in GitHub Desktop.
Update your slave container
#!/bin/bash
sudo docker pull kernelci/lava-slave-docker-v2-lab-tbaker:latest
sudo docker stop lava-slave-01
sudo docker rm lava-slave-01
sudo docker run -dit -v /dev:/dev -e LAVA_SERVER_IP='192.168.1.21' -e LAVA_MASTER=192.168.1.16 --name=lava-slave-01 -h lava-slave-01 --privileged kernelci/lava-slave-docker-v2-lab-tbaker:latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment