diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2017-07-17 20:50:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2017-07-22 21:31:53 +0000 |
commit | e780de2e583470b4a049fed094240f0c2436c2a6 (patch) | |
tree | 3ec8bbebe11b57cc5b779f7493e0f197b81e5563 | |
parent | Correcting typo in comment in curl container create script. (diff) | |
download | compute-tools-e780de2e583470b4a049fed094240f0c2436c2a6.tar.xz compute-tools-e780de2e583470b4a049fed094240f0c2436c2a6.zip |
Updating default url to download images from in curl container create script.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
-rw-r--r-- | share/man/container-create-curl.1.txt | 2 | ||||
-rwxr-xr-x | share/scripts/curl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/share/man/container-create-curl.1.txt b/share/man/container-create-curl.1.txt index a1bd487..987c79e 100644 --- a/share/man/container-create-curl.1.txt +++ b/share/man/container-create-curl.1.txt @@ -58,7 +58,7 @@ The following script options are available: Specify the image name to download, defaults to debian-stretch-${ARCHITECTURE}.tar.xz (where ${ARCHITECTURE} is the host systems architecture). *--server='SERVER'*:: - Specify the image server to download from, defaults to https://files.open-infrastructure.net/images/container-tools/current. + Specify the image server to download from, defaults to https://files.open-infrastructure.net/system/container/debian. *-p, --root-password='PASSWORD'*:: Specify the root password, defaults to a random 16 character password. diff --git a/share/scripts/curl b/share/scripts/curl index a893b10..f7419e9 100755 --- a/share/scripts/curl +++ b/share/scripts/curl @@ -138,7 +138,7 @@ fi ARCHITECTURE="${ARCHITECTURE:-$(dpkg --print-architecture)}" IMAGE="${IMAGE:-debian-stretch-${ARCHITECTURE}.tar.xz}" -SERVER="${SERVER:-https://files.open-infrastructure.net/images/container-tools/current}" +SERVER="${SERVER:-https://files.open-infrastructure.net/system/container/debian}" PASSWORD="${PASSWORD:-$(dd if=/dev/urandom bs=12 count=1 2> /dev/null | base64)}" VERSION="$(container version)" |