aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-config
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2023-09-11 20:57:04 +0300
committerkaotisk <kaotisk@arching-kaos.org>2023-09-11 20:57:04 +0300
commit7550b8ccb0b05d3b11a9bfcb45cee0849dc05f76 (patch)
treefd8901115994d1bcbe43f8856ecadcf0bd33ebde /bin/ak-config
parent6732953e0cc1e4d91d19dcddb90a2fc9afdfeace (diff)
downloadarching-kaos-tools-7550b8ccb0b05d3b11a9bfcb45cee0849dc05f76.tar.gz
arching-kaos-tools-7550b8ccb0b05d3b11a9bfcb45cee0849dc05f76.tar.bz2
arching-kaos-tools-7550b8ccb0b05d3b11a9bfcb45cee0849dc05f76.zip
Workaround for IPNS unresolvable zchain links
- Adds a "zlatest" field to the configuration of the node - We update and publish the configuration each time we change the latest block of our zchain
Diffstat (limited to 'bin/ak-config')
-rwxr-xr-xbin/ak-config3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ak-config b/bin/ak-config
index 92b932e..8022e42 100755
--- a/bin/ak-config
+++ b/bin/ak-config
@@ -22,7 +22,8 @@ show(){
"profile":'$(ak-profile index | jq -cM)',
"genesis":"'$(cat $HOME/.arching-kaos/config/zgenesis)'",
"gpg":"'$GPG_PUB_KEY'",
- "zchain":"'$(cat $HOME/.arching-kaos/config/zchain)'"
+ "zchain":"'$(cat $HOME/.arching-kaos/config/zchain)'",
+ "zlatest":"'$(ak-get-latest)'"
}';
}