diff options
| author | dd <dd@wx.tnyzeq.icu> | 2024-05-22 16:16:47 +0200 |
|---|---|---|
| committer | dd <dd@wx.tnyzeq.icu> | 2024-05-22 16:16:47 +0200 |
| commit | d7cb2eab3a70b7167ecb87ffbd4880aa37ed816f (patch) | |
| tree | 025018a5ad741ef3fa5d6263b4256e2c3c294474 | |
| parent | 06077d5061f95da26387212fd1ca44ea4df2b89e (diff) | |
| download | vyos-jenkins-d7cb2eab3a70b7167ecb87ffbd4880aa37ed816f.tar.gz vyos-jenkins-d7cb2eab3a70b7167ecb87ffbd4880aa37ed816f.zip | |
improved shell examples
| -rw-r--r-- | readme.md | 6 | ||||
| -rwxr-xr-x[-rw-r--r--] | support-scripts/build-custom-vyos-build-containers.sh | 4 |
2 files changed, 4 insertions, 6 deletions
@@ -145,7 +145,7 @@ patches to make it work. If this changed in future then this step can be skipped The below script clones the (patched) vyos-build, then builds and pushes the images to your custom Docker repository. ```bash -#!/bin/bash +#!/usr/bin/env bash CUSTOM_DOCKER_REPO="172.17.17.17:5000" # @@ -377,7 +377,7 @@ We use this as hack to fix some of vyos packaging issues. ``` cat << 'EOF' > /usr/local/bin/uncron-add -#!/bin/bash +#!/usr/bin/env bash COMMAND="$1" # this is hack to workaround a issue where vyos didn't create sagitta branch @@ -470,7 +470,7 @@ to see what happens! If all is well you should see .deb appearing in `/home/sentrium/web/dev.packages.vyos.net/public_html/repositories/`: ``` -find /home/sentrium/web/dev.packages.vyos.net/public_html/repositories/ -name *.deb -print +find /home/sentrium/web/dev.packages.vyos.net/public_html/repositories/ -name '*.deb' -print ``` If build fails then click the specific build number and check **Console Output** for hints why it does so. diff --git a/support-scripts/build-custom-vyos-build-containers.sh b/support-scripts/build-custom-vyos-build-containers.sh index 8c76b49..adb3f2f 100644..100755 --- a/support-scripts/build-custom-vyos-build-containers.sh +++ b/support-scripts/build-custom-vyos-build-containers.sh @@ -1,6 +1,4 @@ - -#!/bin/bash - +#!/usr/bin/env bash CUSTOM_DOCKER_REPO="172.17.17.17:5000" # |
