Skip to content

Commit

Permalink
Merge pull request #7 from jpfulton:reorganize-folders
Browse files Browse the repository at this point in the history
Reorganize-folders
  • Loading branch information
jpfulton authored Aug 20, 2023
2 parents 846ca70 + 2c6e60d commit 2192126
Show file tree
Hide file tree
Showing 51 changed files with 68 additions and 213 deletions.
2 changes: 1 addition & 1 deletion linux-scripts/README.md → linux/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# linux-scripts
# linux

This folder contains scripts for remote execution on a Linux virtual machine
to update and configure the operating system.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
23 changes: 0 additions & 23 deletions powershell/admin/dev-tools/checkout-jpfulton-repos.ps1

This file was deleted.

4 changes: 0 additions & 4 deletions powershell/admin/wsl/README.md

This file was deleted.

65 changes: 0 additions & 65 deletions powershell/admin/wsl/config-wsl.ps1

This file was deleted.

9 changes: 0 additions & 9 deletions powershell/admin/wsl/enable-wsl-systemd.ps1

This file was deleted.

2 changes: 0 additions & 2 deletions powershell/admin/wsl/install-wsl.ps1

This file was deleted.

24 changes: 0 additions & 24 deletions powershell/admin/wsl/update-wsl-distro.ps1

This file was deleted.

3 changes: 0 additions & 3 deletions powershell/azure/enable-virtual-machine-platform.ps1

This file was deleted.

24 changes: 12 additions & 12 deletions scripts/create-linux-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -368,14 +368,14 @@ main () {
login-to-admin-acct;

# copy setup scripts to server
scp-file-to-admin-home ${CURRENT_SCRIPT_DIR}../linux-scripts/core/update-base-packages.sh;
scp-file-to-admin-home ${CURRENT_SCRIPT_DIR}../linux-scripts/core/setup-firewall.sh;
scp-file-to-admin-home ${CURRENT_SCRIPT_DIR}../linux-scripts/core/setup-motd.sh;
scp-file-to-admin-home ${CURRENT_SCRIPT_DIR}../linux-scripts/core/setup-node-and-yarn.sh;
scp-file-to-admin-home ${CURRENT_SCRIPT_DIR}../linux-scripts/spot/setup-sms-notifier.sh;
scp-file-to-admin-home ${CURRENT_SCRIPT_DIR}../linux-scripts/spot/setup-eviction-shutdown-system.sh;
scp-file-to-admin-home ${CURRENT_SCRIPT_DIR}../linux-scripts/spot/update-notifier-config.sh;
scp-file-to-admin-home ${CURRENT_SCRIPT_DIR}../linux-scripts/core/clean-up.sh;
scp-file-to-admin-home ${CURRENT_SCRIPT_DIR}../linux/core/update-base-packages.sh;
scp-file-to-admin-home ${CURRENT_SCRIPT_DIR}../linux/core/setup-firewall.sh;
scp-file-to-admin-home ${CURRENT_SCRIPT_DIR}../linux/core/setup-motd.sh;
scp-file-to-admin-home ${CURRENT_SCRIPT_DIR}../linux/core/setup-node-and-yarn.sh;
scp-file-to-admin-home ${CURRENT_SCRIPT_DIR}../linux/spot/setup-sms-notifier.sh;
scp-file-to-admin-home ${CURRENT_SCRIPT_DIR}../linux/spot/setup-eviction-shutdown-system.sh;
scp-file-to-admin-home ${CURRENT_SCRIPT_DIR}../linux/spot/update-notifier-config.sh;
scp-file-to-admin-home ${CURRENT_SCRIPT_DIR}../linux/core/clean-up.sh;

# execute remote setup scripts
echo "Executing base platform setup scripts...";
Expand Down Expand Up @@ -403,10 +403,10 @@ main () {
if [ "$OPENVPN" -eq 1 ]
then
echo "Copying OpenVPN setup scripts to server...";
scp-file-to-admin-home ${CURRENT_SCRIPT_DIR}../linux-scripts/openvpn/install-openvpn-and-deps.sh;
scp-file-to-admin-home ${CURRENT_SCRIPT_DIR}../linux-scripts/openvpn/create-server-certificates.sh;
scp-file-to-admin-home ${CURRENT_SCRIPT_DIR}../linux-scripts/openvpn/configure-openvpn-server.sh;
scp-file-to-admin-home ${CURRENT_SCRIPT_DIR}../linux-scripts/openvpn/create-client-config.sh;
scp-file-to-admin-home ${CURRENT_SCRIPT_DIR}../linux/openvpn/install-openvpn-and-deps.sh;
scp-file-to-admin-home ${CURRENT_SCRIPT_DIR}../linux/openvpn/create-server-certificates.sh;
scp-file-to-admin-home ${CURRENT_SCRIPT_DIR}../linux/openvpn/configure-openvpn-server.sh;
scp-file-to-admin-home ${CURRENT_SCRIPT_DIR}../linux/openvpn/create-client-config.sh;

echo "Executing OpenVPN setup scripts...";
run-script-from-admin-home install-openvpn-and-deps.sh;
Expand Down
Loading

0 comments on commit 2192126

Please sign in to comment.