From 96dbd1a34e315d9840368cb4b626f70078354b4d Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Thu, 3 Sep 2020 09:55:42 +1000 Subject: [PATCH] launch: move old scripts out of top-level These don't make any sense in the top-level these days. Once upon a time we used to use these as node scripts to bring up testing nodes (I think). The important thing is they're not used now. Change-Id: Iffa6c6bee647f1a242e9e71241d829c813f2a3e7 --- launch/launch-node.py | 4 ++-- make_swap.sh => launch/make_swap.sh | 0 mount_volume.sh => launch/mount_volume.sh | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename make_swap.sh => launch/make_swap.sh (100%) rename mount_volume.sh => launch/mount_volume.sh (100%) diff --git a/launch/launch-node.py b/launch/launch-node.py index 5474f5004c..eaf1645555 100755 --- a/launch/launch-node.py +++ b/launch/launch-node.py @@ -129,12 +129,12 @@ def bootstrap_server(server, key, name, volume_device, keep, ssh_client.ssh('ping6 -c5 -Q 0x10 review.openstack.org ' '|| ping6 -c5 -Q 0x10 wiki.openstack.org') - ssh_client.scp(os.path.join(SCRIPT_DIR, '..', 'make_swap.sh'), + ssh_client.scp(os.path.join(SCRIPT_DIR, 'make_swap.sh'), 'make_swap.sh') ssh_client.ssh('bash -x make_swap.sh') if volume_device: - ssh_client.scp(os.path.join(SCRIPT_DIR, '..', 'mount_volume.sh'), + ssh_client.scp(os.path.join(SCRIPT_DIR, 'mount_volume.sh'), 'mount_volume.sh') ssh_client.ssh('bash -x mount_volume.sh %s %s %s' % (volume_device, mount_path, fs_label)) diff --git a/make_swap.sh b/launch/make_swap.sh similarity index 100% rename from make_swap.sh rename to launch/make_swap.sh diff --git a/mount_volume.sh b/launch/mount_volume.sh similarity index 100% rename from mount_volume.sh rename to launch/mount_volume.sh