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:
parent
a98076f11c
commit
ca6fc69ee8
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user