From 9d4e9bec747bec94daa8f192799b3ff541e4f234 Mon Sep 17 00:00:00 2001 From: Thomas E Lackey Date: Wed, 2 Dec 2020 17:11:24 -0600 Subject: [PATCH] fix: include FQDN in registration --- packages/cli-machine/src/modules/machine.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/cli-machine/src/modules/machine.js b/packages/cli-machine/src/modules/machine.js index 19af7ca85..d5ed00c7d 100644 --- a/packages/cli-machine/src/modules/machine.js +++ b/packages/cli-machine/src/modules/machine.js @@ -280,8 +280,8 @@ export const MachineModule = ({ config }) => { - export WIRE_WNS_USER_KEY=${userKey} - export WIRE_WNS_BOND_ID=${bondId} - if [ "${register ? 1 : 0}" = "1" ]; then while [ ! -f "$HOME/.wire/bots/service.yml" ]; do sleep 1; done; fi - - if [ "${register ? 1 : 0}" = "1" ]; then ./ipfs_auto_publish.sh "${wrnRoot}/service/ipfs/${boxName}"; fi - - if [ "${register ? 1 : 0}" = "1" ]; then ./botfactory_auto_publish.sh "${wrnRoot}/service/bot-factory/${boxName}"; fi + - if [ "${register ? 1 : 0}" = "1" ]; then ./ipfs_auto_publish.sh "${wrnRoot}/service/ipfs/${boxName}" "${boxFullyQualifiedName}"; fi + - if [ "${register ? 1 : 0}" = "1" ]; then ./botfactory_auto_publish.sh "${wrnRoot}/service/bot-factory/${boxName}" "${boxFullyQualifiedName}"; fi `; // from https://developers.digitalocean.com/documentation/changelog/api-v2/new-size-slugs-for-droplet-plan-changes/