docs: adding and removing host: add --all-projects option

When running without that option, the list of servers might be empty,
resulting in leftover instances on the host that is about to be
migrated.

Change-Id: I85915f0f86655f3a1eb5f54911d24e4e0e75f340
This commit is contained in:
Marc 'risson' Schmitt 2021-08-21 00:32:36 +02:00
parent a98076f11c
commit ca6fc69ee8
No known key found for this signature in database
GPG Key ID: 9C3FA22FABF1AA8D

View File

@ -194,7 +194,7 @@ If possible, live migrate instances to another host.
.. code-block:: console
openstack server list --host <host> -f value -c ID | while read server; do
openstack server list --all-projects --host <host> -f value -c ID | while read server; do
openstack server migrate --live-migration $server
done