Maintain the demo environment


You can find some steps for maintaining your demo environment below.

Stop the Mender services

This will also stop the virtual device, which is assigned a random MAC address each time it starts. Therefore it will appear as a new device once you start the Mender services again.

Stopping the Mender services will dismiss the currently generated password, make sure to store the password if you want to revisit the current setup.

When you are done testing Mender, simply press Ctrl-C in the terminal you started Mender in, where the log output is shown. Stopping all the services may take about a minute.

The Mender demo environment can be started by running the ./demo up script again.

Reset login credentials

If you just lost the login credentials, you can run the reset-user script in the integration directory.

Clean up the environment

You will lose all state data in your Mender demo environment by running the commands below, which includes devices you have authorized, software uploaded, logs, deployment reports and any other changes you have made.

If you want to remove all state in your Mender demo environment and start clean, run the following commands in the integration directory:

./demo stop
./demo rm -v
./demo --client up

Found errors? Think you can improve this documentation? Simply click the Edit link at the top of the page, and then the icon on Github to submit changes.