diff --git a/elixir/apps/web/lib/web/live/sites/new_token.ex b/elixir/apps/web/lib/web/live/sites/new_token.ex index b4e4913f4..47760d139 100644 --- a/elixir/apps/web/lib/web/live/sites/new_token.ex +++ b/elixir/apps/web/lib/web/live/sites/new_token.ex @@ -31,7 +31,7 @@ defmodule Web.Sites.NewToken do {:noreply, assign(socket, uri: uri, - selected_tab: Map.get(params, "method", "systemd-instructions") + selected_tab: Map.get(params, "method", "debian-instructions") )} end @@ -68,6 +68,61 @@ defmodule Web.Sites.NewToken do <.tabs :if={@env} id="deployment-instructions"> + <:tab + id="debian-instructions" + icon="os-debian" + label="Debian / Ubuntu" + phx_click="tab_selected" + selected={@selected_tab == "debian-instructions"} + > +
+ Step 1: Add the Firezone package repository. +
+ + <.code_block + id="code-sample-debian1" + class="w-full text-xs whitespace-pre-line" + phx-no-format + phx-update="ignore" + ><%= debian_command_apt_repository() %> + ++ Step 2: Install the Gateway: +
+ + <.code_block + id="code-sample-debian2" + class="w-full text-xs whitespace-pre-line" + phx-no-format + phx-update="ignore" + ><%= debian_command_install() %> + ++ Step 3: Copy the token: +
+ + <.code_block + id="code-sample-debian3" + class="w-full text-xs whitespace-pre-line" + phx-no-format + phx-update="ignore" + ><%= token(@env) %> + ++ Step 4: Configure the token: +
+ + <.code_block + id="code-sample-debian4" + class="w-full text-xs whitespace-pre-line" + phx-no-format + phx-update="ignore" + ><%= debian_command_authenticate() %> + +
+ Step 5: You are now ready to manage the Gateway using the firezone CLI.
+