From a1d64e509bf9308203340b0c5ecb27f999a161b9 Mon Sep 17 00:00:00 2001 From: Oleksandr Dievri Date: Tue, 26 Jan 2021 14:47:44 +0200 Subject: [PATCH] Fix name --- src/.init.lua | 1 + src/values.yml | 8 ++++---- values.yml | 8 ++++---- 3 files changed, 9 insertions(+), 8 deletions(-) create mode 100644 src/.init.lua diff --git a/src/.init.lua b/src/.init.lua new file mode 100644 index 0000000..9590547 --- /dev/null +++ b/src/.init.lua @@ -0,0 +1 @@ +print("dump") \ No newline at end of file diff --git a/src/values.yml b/src/values.yml index 50961e8..5b22a9e 100644 --- a/src/values.yml +++ b/src/values.yml @@ -41,11 +41,11 @@ profile: | echo $NINEP_PUBLIC_HOST > /dev/sysname test -d /mnt/registry || mkdir -p /mnt/registry mount -A tcp!registry!registry /mnt/registry - AWS_DIR = /tmp/aws/cmd - test -d $AWS_DIR || mkdir -p $AWS_DIR + AZURE_DIR = /tmp/azure/cmd + test -d $AZURE_DIR || mkdir -p $AZURE_DIR load mpexpr fs_port = ${expr $NINEP_PUBLIC_PORT 1 +} - file2chan $AWS_DIR^/aws {} { + file2chan $AZURE_DIR^/azure {} { load mpexpr var=${expr 10 rand} echo new id is $var @@ -57,6 +57,6 @@ profile: | fs_port=${expr $fs_port 1 +} } - grid/reglisten -A -r description ${quote $NINEP_DESCRIPTION} 'tcp!*!'^$port { export $AWS_DIR & } + grid/reglisten -A -r description ${quote $NINEP_DESCRIPTION} 'tcp!*!'^$port { export $AZURE_DIR & } test -n $status && os pkill -9 emu-g echo --- end of profile loading --- \ No newline at end of file diff --git a/values.yml b/values.yml index d6cf8b9..69fa33f 100644 --- a/values.yml +++ b/values.yml @@ -94,11 +94,11 @@ profile: | echo $NINEP_PUBLIC_HOST > /dev/sysname test -d /mnt/registry || mkdir -p /mnt/registry mount -A tcp!registry!registry /mnt/registry - AWS_DIR = /tmp/aws/cmd - test -d $AWS_DIR || mkdir -p $AWS_DIR + AZURE_DIR = /tmp/azure/cmd + test -d $AZURE_DIR || mkdir -p $AZURE_DIR load mpexpr fs_port = ${expr $NINEP_PUBLIC_PORT 1 +} - file2chan $AWS_DIR^/aws {} { + file2chan $AZURE_DIR^/azure {} { load mpexpr var=${expr 10 rand} echo new id is $var @@ -110,6 +110,6 @@ profile: | fs_port=${expr $fs_port 1 +} } - grid/reglisten -A -r description ${quote $NINEP_DESCRIPTION} 'tcp!*!'^$port { export $AWS_DIR & } + grid/reglisten -A -r description ${quote $NINEP_DESCRIPTION} 'tcp!*!'^$port { export $AZURE_DIR & } test -n $status && os pkill -9 emu-g echo --- end of profile loading --- \ No newline at end of file