Commit 5b262170 authored by Francisco-Javier Ramon Salguero's avatar Francisco-Javier Ramon Salguero
Browse files

Updated annex of clean of prior OSM installation

parent 4d50e0fa
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -90,6 +90,14 @@ For casual testing you can choose to log into the OSM build and launching some t
**This procedure is highly discouraged for community testing.** Unless you are really sure about what you are doing, please use a clean Ubuntu VM instead.

```bash
# Removes previous data
docker stack rm osm
docker volume prune
# The above command removes the network too
docker network create --driver=overlay --attachable --opt com.docker.network.driver.mtu=<MTU size supported by Interface> netosm
docker stack deploy -c <location of docker-compose.yaml; default location is /etc/osm/docker/docker-compose.yaml> osm
# Optionally, you could have used the installer to uninstall OSM:
./install_osm.sh --uninstall
# Remove old dependencies
sudo apt-get remove -y osm-devops
sudo apt-get remove -y osm-imdocs