From 4c33abe73de75a12d1e44aa311b2cfef2c7b53ae Mon Sep 17 00:00:00 2001 From: Omar Kamel <30291302+TekExplorer@users.noreply.github.com> Date: Wed, 6 Jan 2021 15:32:53 -0500 Subject: [PATCH 1/3] Add an example wings startup to the README Didn't realize I could get it to ignore the cert errors, and should serve as one less thing to worry about when using this repo, although perhaps adding a `run_wings.sh` or something with that to the Wings repo might make sense? idk --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 74c5588..6449bef 100644 --- a/README.md +++ b/README.md @@ -24,5 +24,11 @@ Once you already have everything setup for the app, you can simply run `vagrant ### Daemons There are VMs for both, the old and the new, daemons configured. They do not start automatically. You can start them using `vagrant up daemon` (for the nodejs one) and `vagrant up wings` (the golang one). +#### Wings +Example Wings startup: +``` +sudo /path/to/wings --debug --ignore-certificate-errors --config=/path/to/config.yml +``` + ### Updating /etc/hosts On your first run, and whenever the hostnames change, you'll have to run `vagrant hostmanager app --provider docker` to update your /etc/hosts file. From 2e43813bc9f41b4607cc945064b90387f699070f Mon Sep 17 00:00:00 2001 From: Omar Kamel <30291302+TekExplorer@users.noreply.github.com> Date: Wed, 6 Jan 2021 15:34:05 -0500 Subject: [PATCH 2/3] Add hosts entry for wings VM Add hosts entry for pterodactyl.test so Wings can reach the panel --- scripts/provision_wings.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/provision_wings.sh b/scripts/provision_wings.sh index 7be9399..1976aa0 100644 --- a/scripts/provision_wings.sh +++ b/scripts/provision_wings.sh @@ -21,3 +21,6 @@ systemctl enable docker --now # Install ctop for easy container metrics visualization. curl -L https://github.com/bcicen/ctop/releases/download/v0.7.1/ctop-0.7.1-linux-amd64 -o /usr/local/bin/ctop chmod +x /usr/local/bin/ctop + +# Add hosts entry for pterodactyl.test so Wings can reach the panel +echo 192.168.50.1 pterodactyl.test >> /etc/hosts From 80391de46eed520d76ad1551c9c0318b59c1103a Mon Sep 17 00:00:00 2001 From: Omar Kamel <30291302+TekExplorer@users.noreply.github.com> Date: Fri, 15 Jan 2021 11:43:31 -0500 Subject: [PATCH 3/3] remove ignore cert error flag due to this commit: https://github.com/pterodactyl/development/commit/2d3e446cc27dc795c7917547c84e85acd1aa0881 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e0b262f..94f326e 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ There are VMs for both, the old and the new, daemons configured. They do not sta #### Wings Example Wings startup: ``` -sudo /path/to/wings --debug --ignore-certificate-errors --config=/path/to/config.yml +sudo /path/to/wings --debug --config=/path/to/config.yml ``` ### Updating /etc/hosts @@ -40,4 +40,4 @@ A `vagrant.config.yml` can be used to configure the following properties of the wings: # the VM used for wings cpus: 2 memory: 2048 -``` \ No newline at end of file +```