gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-deployment] branch master updated (48befdd -> c77865d)


From: gnunet
Subject: [taler-deployment] branch master updated (48befdd -> c77865d)
Date: Tue, 14 Mar 2023 12:13:41 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a change to branch master
in repository deployment.

    from 48befdd  NLnet deployment: update libEuFin.
     new 22843b2  increase memory, needed by GUI
     new c77865d  netzbon: currency length check

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 netzbon/main.sh             | 10 +++++++++-
 netzbon/vagrant/Vagrantfile |  2 +-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/netzbon/main.sh b/netzbon/main.sh
index 5848915..52f5f67 100755
--- a/netzbon/main.sh
+++ b/netzbon/main.sh
@@ -21,13 +21,21 @@ source config/internal.conf
 
 # Ask questions to user
 # START USER INTERACTION
-echo "TALER: Welcome to the GNU Taler Debian setup!"
+say "Welcome to the GNU Taler Debian setup!"
+say ""
+say "All configuration values asked during the setup script"
+say "can be changed in config/user.conf"
 
 if test -z "${CURRENCY:-}"
 then
     read -p "Enter the name of the currency (e.g. 'EUR'): " CURRENCY
     # convert to all-caps
     CURRENCY=`echo ${CURRENCY} | tr a-z A-Z`
+    # libeufin currenly doesn't like currency names less than 3 letters.
+    if [[ ${#CURRENCY} -lt 3 || ${#CURRENCY} -gt 11 ]]; then
+      say "Currency name must be between 3 and 10 letters"
+      exit 1
+    fi
     echo "CURRENCY=${CURRENCY}" >> config/user.conf
 fi
 if test -z "${BANK_NAME:-}"
diff --git a/netzbon/vagrant/Vagrantfile b/netzbon/vagrant/Vagrantfile
index cf5fc7c..7cb3574 100644
--- a/netzbon/vagrant/Vagrantfile
+++ b/netzbon/vagrant/Vagrantfile
@@ -57,7 +57,7 @@ Vagrant.configure("2") do |config|
     vb.gui = true
   
     # Customize the amount of memory on the VM:
-    vb.memory = "2048"
+    vb.memory = "4096"
 
     # Required, or wayland doesn't seem to work
     vb.customize ['modifyvm', :id, '--graphicscontroller', 'vmsvga']

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]