Resolve ShellCheck 0.4.7 issues
[releng/builder.git] / jjb / opendaylight-infra-cleanup-stale-nodes.sh
index e8f1c83d7dfdf13b32959de61b1f163d7a4b891f..2ec19ee8e3736aea19636874b675fcba91203e65 100644 (file)
@@ -1,4 +1,13 @@
 #!/bin/bash
+# SPDX-License-Identifier: EPL-1.0
+##############################################################################
+# Copyright (c) 2017 The Linux Foundation and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+##############################################################################
 
 # Todo: As a safe check we could obtain the list of active jobs from Jenkins and
 # compute the checksum from $JOB_NAME to check if any active nodes exist and
@@ -6,7 +15,7 @@
 # 24H timeout in place for all jobs therefore all jobs are expected to complete
 # within the timeout.
 
-lftools openstack --os-cloud rackspace \
+lftools openstack --os-cloud vex \
     server list --days=1
-lftools openstack --os-cloud rackspace \
+lftools openstack --os-cloud vex \
     server cleanup --days=1