From 91c611993f08835bed18857705008af65e00e950 Mon Sep 17 00:00:00 2001 From: Joel Wilson <9220123+LTangaF@users.noreply.github.com> Date: Tue, 7 Jul 2020 23:14:25 -0500 Subject: [PATCH] Add link-following to all curl commands --- .circleci/integration-test.py | 2 +- docs/howto/auth/awscognito.rst | 2 +- docs/install/azure.rst | 2 +- docs/install/custom-server.rst | 2 +- docs/install/digitalocean.rst | 2 +- docs/install/google.rst | 2 +- docs/install/jetstream.rst | 2 +- docs/install/ovh.rst | 2 +- docs/topic/customizing-installer.rst | 12 ++++++------ 9 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.circleci/integration-test.py b/.circleci/integration-test.py index 6bd5b40..79ddc84 100755 --- a/.circleci/integration-test.py +++ b/.circleci/integration-test.py @@ -100,7 +100,7 @@ def run_test(image_name, test_name, bootstrap_pip_spec, test_files, upgrade, ins if upgrade: run_container_command( test_name, - f'curl https://tljh.jupyter.org/bootstrap.py | python3 -' + f'curl -L https://tljh.jupyter.org/bootstrap.py | python3 -' ) run_container_command( diff --git a/docs/howto/auth/awscognito.rst b/docs/howto/auth/awscognito.rst index 1b74df4..ff1dd9b 100644 --- a/docs/howto/auth/awscognito.rst +++ b/docs/howto/auth/awscognito.rst @@ -50,7 +50,7 @@ able to configure the instance automatically, replace relevant config variables: ############################################## # Need to ensure oauthenticator is bumped to 0.10.0 ############################################## - curl https://tljh.jupyter.org/bootstrap.py \ + curl -L https://tljh.jupyter.org/bootstrap.py \ | sudo python3 - \ --admin insightadmin diff --git a/docs/install/azure.rst b/docs/install/azure.rst index 2d86f61..62f7cf8 100644 --- a/docs/install/azure.rst +++ b/docs/install/azure.rst @@ -135,7 +135,7 @@ A new screen with all the options for Virtual Machines in Azure will displayed. .. code:: bash #!/bin/bash - curl https://tljh.jupyter.org/bootstrap.py \ + curl -L https://tljh.jupyter.org/bootstrap.py \ | sudo python3 - \ --admin diff --git a/docs/install/custom-server.rst b/docs/install/custom-server.rst index 454c28f..b14edcd 100644 --- a/docs/install/custom-server.rst +++ b/docs/install/custom-server.rst @@ -59,7 +59,7 @@ Step 1: Installing The Littlest JupyterHub .. code-block:: bash - curl https://tljh.jupyter.org/bootstrap.py | sudo -E python3 - --admin + curl -L https://tljh.jupyter.org/bootstrap.py | sudo -E python3 - --admin .. note:: diff --git a/docs/install/digitalocean.rst b/docs/install/digitalocean.rst index 65c68c2..2b6c146 100644 --- a/docs/install/digitalocean.rst +++ b/docs/install/digitalocean.rst @@ -63,7 +63,7 @@ Let's create the server on which we can run JupyterHub. .. code-block:: bash #!/bin/bash - curl https://tljh.jupyter.org/bootstrap.py \ + curl -L https://tljh.jupyter.org/bootstrap.py \ | sudo python3 - \ --admin diff --git a/docs/install/google.rst b/docs/install/google.rst index 36067a8..5816f71 100644 --- a/docs/install/google.rst +++ b/docs/install/google.rst @@ -144,7 +144,7 @@ Let's create the server on which we can run JupyterHub. .. code-block:: bash #!/bin/bash - curl https://tljh.jupyter.org/bootstrap.py \ + curl -L https://tljh.jupyter.org/bootstrap.py \ | sudo python3 - \ --admin diff --git a/docs/install/jetstream.rst b/docs/install/jetstream.rst index c8b131a..92ea2c7 100644 --- a/docs/install/jetstream.rst +++ b/docs/install/jetstream.rst @@ -86,7 +86,7 @@ Let's create the server on which we can run JupyterHub. .. code-block:: bash #!/bin/bash - curl https://tljh.jupyter.org/bootstrap.py \ + curl -L https://tljh.jupyter.org/bootstrap.py \ | sudo python3 - \ --admin diff --git a/docs/install/ovh.rst b/docs/install/ovh.rst index 4e688ba..241368c 100644 --- a/docs/install/ovh.rst +++ b/docs/install/ovh.rst @@ -71,7 +71,7 @@ Let's create the server on which we can run JupyterHub. .. code-block:: bash #!/bin/bash - curl https://tljh.jupyter.org/bootstrap.py \ + curl -L https://tljh.jupyter.org/bootstrap.py \ | sudo python3 - \ --admin diff --git a/docs/topic/customizing-installer.rst b/docs/topic/customizing-installer.rst index 3615e37..dd45d2b 100644 --- a/docs/topic/customizing-installer.rst +++ b/docs/topic/customizing-installer.rst @@ -9,7 +9,7 @@ is executed as: .. code-block:: bash - curl https://tljh.jupyter.org/bootstrap.py \ + curl -L https://tljh.jupyter.org/bootstrap.py \ | sudo python3 - \ @@ -33,7 +33,7 @@ during install you would: .. code-block:: bash - curl https://tljh.jupyter.org/bootstrap.py \ + curl -L https://tljh.jupyter.org/bootstrap.py \ | sudo python3 - \ --admin admin-user1:password-user1 --admin admin-user2:password-user2 @@ -41,7 +41,7 @@ during install you would: .. code-block:: bash - curl https://tljh.jupyter.org/bootstrap.py \ + curl -L https://tljh.jupyter.org/bootstrap.py \ | sudo python3 - \ --admin admin-user1 --admin admin-user2 @@ -49,7 +49,7 @@ during install you would: .. code-block:: bash - curl https://tljh.jupyter.org/bootstrap.py \ + curl -L https://tljh.jupyter.org/bootstrap.py \ | sudo python3 - \ --admin admin-user1:password-user1 --admin admin-user2 @@ -66,7 +66,7 @@ in your new hub, you would run: .. code-block:: bash - curl https://tljh.jupyter.org/bootstrap.py \ + curl -L https://tljh.jupyter.org/bootstrap.py \ | sudo python3 - \ --user-requirements-txt-url https://raw.githubusercontent.com/data-8/materials-sp18/master/requirements.txt @@ -97,7 +97,7 @@ you would use: .. code-block:: bash - curl https://tljh.jupyter.org/bootstrap.py \ + curl -L https://tljh.jupyter.org/bootstrap.py \ | sudo python3 - \ --plugin git+https://github.com/yuvipanda/tljh-pangeo@v0.1