From 72427b049a5f303f709201b6d723dffaae1923cb Mon Sep 17 00:00:00 2001 From: hiroTochigi Date: Fri, 26 Jan 2024 21:32:24 -0600 Subject: [PATCH] remove test script and set executable permission for driver.sh - Deleted the test script section from driver.sh for cleaner. - Updated driver.sh to be executable, enhancing usability and ease of execution. --- ...allStoreConfigIntoTreehousesConfigAsStringfiedJson.sh | 9 --------- src/aws/driver.sh | 3 --- src/aws/load.sh | 1 - 3 files changed, 13 deletions(-) delete mode 100644 src/aws/callStoreConfigIntoTreehousesConfigAsStringfiedJson.sh mode change 100644 => 100755 src/aws/driver.sh diff --git a/src/aws/callStoreConfigIntoTreehousesConfigAsStringfiedJson.sh b/src/aws/callStoreConfigIntoTreehousesConfigAsStringfiedJson.sh deleted file mode 100644 index f222679b..00000000 --- a/src/aws/callStoreConfigIntoTreehousesConfigAsStringfiedJson.sh +++ /dev/null @@ -1,9 +0,0 @@ -function callStoreConfigIntoTreehousesConfigAsStringfiedJson() { - local instanceName="testBallon" - local keyName="key-testBallon" - local instanceId="i-0abcd1234efgh5678" # replace with your actual AWS instance ID - local publicIp="192.1.2.1" # replace with your actual public IPv4 address - local groupName="testBallon" - - storeConfigIntoTreehousesConfigAsStringfiedJson $instanceName $keyName $instanceId $publicIp $groupName -} diff --git a/src/aws/driver.sh b/src/aws/driver.sh old mode 100644 new mode 100755 index 8ef81419..b8b38fec --- a/src/aws/driver.sh +++ b/src/aws/driver.sh @@ -21,9 +21,6 @@ case "$1" in delete) delete "${@:2}" ;; - test) - callStoreConfigIntoTreehousesConfigAsStringfiedJson "${@:2}" - ;; *) echo "Error: Invalid command." authUsage diff --git a/src/aws/load.sh b/src/aws/load.sh index e7a825b5..ba4e2115 100644 --- a/src/aws/load.sh +++ b/src/aws/load.sh @@ -14,5 +14,4 @@ source $manageConfigPath/dependencies/reverseShell.sh source $manageConfigPath/init.sh source $manageConfigPath/delete.sh -source $manageConfigPath/callStoreConfigIntoTreehousesConfigAsStringfiedJson.sh