Merge pull request #593 from LTangaF/patch-1

add -L option to curl to follow redirect
This commit is contained in:
Georgiana Elena
2020-07-08 11:37:14 +03:00
committed by GitHub
10 changed files with 15 additions and 15 deletions

View File

@@ -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(

View File

@@ -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

View File

@@ -101,7 +101,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 <admin-user-name>

View File

@@ -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 <admin-user-name>

View File

@@ -59,7 +59,7 @@ Step 1: Installing The Littlest JupyterHub
.. code-block:: bash
curl https://tljh.jupyter.org/bootstrap.py | sudo -E python3 - --admin <admin-user-name>
curl -L https://tljh.jupyter.org/bootstrap.py | sudo -E python3 - --admin <admin-user-name>
.. note::

View File

@@ -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 <admin-user-name>

View File

@@ -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 <admin-user-name>

View File

@@ -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 <admin-user-name>

View File

@@ -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 <admin-user-name>

View File

@@ -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 - \
<parameters>
@@ -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