virtual-deployment/libvirt/destroy_allinone.sh
Abraham Arce dd7c49bdbe [Doc] Controller Identity Nodes Common Code
The creation and removal of the Controller identity nodes are common
between all-in-one and standard controller configuration setups:

  -  create_controller
  -  destroy_controller

Make both scripts shared same code located at a common functions
file.

Change-Id: I2ff7d43bd01a2a40264c442d8031a83e1dbbfadb
Signed-off-by: Abraham Arce <abraham.arce.moreno@intel.com>
2018-11-20 07:43:51 -06:00

12 lines
254 B
Bash
Executable File

#!/usr/bin/env bash
SCRIPT_DIR="$(dirname "$(readlink -f "${BASH_SOURCE[0]}" )" )"
source ${SCRIPT_DIR}/functions.sh
CONFIGURATION="allinone"
CONTROLLER=${CONTROLLER:-controller}
DOMAIN_DIRECTORY=vms
destroy_controller ${CONFIGURATION} ${CONTROLLER}