-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update README and add supervisor configs for Tailscale
- Loading branch information
1 parent
3809730
commit 70dc298
Showing
4 changed files
with
67 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,40 @@ | ||
# Branches | ||
# Modules | ||
|
||
* [branch-00](#previous-wind-turbine-branch-00) | ||
* [branch-01](#connecting-your-turbine-to-the-wind-farm-branch-01) | ||
* [module-0](#previous-wind-turbine-module-0) | ||
* [module-1](#connecting-your-turbine-to-the-wind-farm-module-1) | ||
|
||
# Previous wind turbine (branch-00) | ||
# Previous Wind Turbine (module-0) | ||
|
||
Re-familiarize yourself with the wind turbine from the last lab. Recall, it has an adversary container and a Grafana container for ground truth. | ||
In this module: | ||
|
||
In the next branch, you will set up this wind turbine in a larger wind farm. Change the two `{{FIX_ME}}` entries in the URL below with the values provided by your instructor. Then, start the next branch. | ||
* You will re-familiarize yourself with the wind turbine from the last lab. | ||
Recall, it has an adversary container and a Grafana container for ground truth. | ||
|
||
> There will be a Q&A session at the module’s end. Stop the current Gitpod workspace and deploy the next branch in Gitpod using this URL: https://gitpod.io/HOSTNAME={{FIX_ME}},OTSIM_TAILSCALE_AUTHKEY=tskey-auth-{{FIX_ME}}/https://github.com/patsec/uiuc-farm/tree/branch-01 | ||
In the next module, you will set up this wind turbine in a larger wind farm. | ||
Change the two `{{FIX_ME}}` entries in the URL below with the values provided | ||
by your instructor. Then, start the next branch. | ||
|
||
# Connecting Your Turbine to the Wind Farm (branch-01) | ||
> There will be a Q&A session at the module’s end. Stop the current Gitpod | ||
> workspace and deploy the next branch in Gitpod using this URL: | ||
> https://gitpod.io/#HOSTNAME={{FIX_ME}},OTSIM_TAILSCALE_AUTHKEY=tskey-auth-{{FIX_ME}}/https://github.com/patsec/uiuc-farm/tree/module-1 | ||
In this branch: | ||
# Connecting Your Turbine to the Wind Farm (module-1) | ||
|
||
In this module: | ||
|
||
* You will confirm access to the lab’s wind farm. | ||
|
||
## Steps for connecting to the wind farm | ||
## Steps for Connecting to the Wind Farm | ||
|
||
1. Ensure all containers are running in the Gitpod workspace. | ||
2. Confirm with the lab instructor that your wind turbine is connected to the farm. | ||
3. Feather the turbine blades and confirm with the instructor that they are visible. | ||
2. Confirm with the lab instructor that your wind turbine is connected to the | ||
farm. | ||
3. Feather the turbine blades and confirm with the instructor that they are | ||
visible. | ||
|
||
Use the `{{FIX_ME}}` values from the previous branch in the URL below. Then, start the next branch. | ||
Use the `{{FIX_ME}}` values from the previous branch in the URL below. Then, | ||
start the next module. | ||
|
||
> There will be a Q&A session at the module’s end. Stop the current Gitpod workspace and deploy the next branch in Gitpod using this URL: https://gitpod.io/HOSTNAME={{FIX_ME}},OTSIM_TAILSCALE_AUTHKEY=tskey-auth-{{FIX_ME}}/https://github.com/patsec/uiuc-farm/tree/branch-02 | ||
> There will be a Q&A session at the module’s end. Stop the current Gitpod | ||
> workspace and deploy the next module in Gitpod using this URL: | ||
> https://gitpod.io/#HOSTNAME={{FIX_ME}},OTSIM_TAILSCALE_AUTHKEY=tskey-auth-{{FIX_ME}}/https://github.com/patsec/uiuc-farm/tree/module-2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[program:tailscale] | ||
priority=900 | ||
command=/usr/bin/tailscale --socket=/tmp/tailscaled.sock up --authkey="%(ENV_OTSIM_TAILSCALE_AUTHKEY)s" --accept-dns=true | ||
autorestart=unexpected | ||
stdout_logfile=/dev/fd/1 | ||
stdout_logfile_maxbytes=0 | ||
redirect_stderr=true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[program:tailscaled] | ||
priority=100 | ||
command=/usr/bin/tailscaled --socket=/tmp/tailscaled.sock --state=mem: --statedir=/tmp | ||
autorestart=true | ||
stdout_logfile=/dev/fd/1 | ||
stdout_logfile_maxbytes=0 | ||
redirect_stderr=true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters