From 3c8a2b7ac23e3c1fd52d3bff37f175fd03aef05d Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Tue, 22 Oct 2024 06:53:52 -0400 Subject: [PATCH] deploy-initial: fix obtaining swap size --- deploy-initial | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy-initial b/deploy-initial index b7b1620..b00f92e 100755 --- a/deploy-initial +++ b/deploy-initial @@ -10,7 +10,7 @@ readonly host=$1 readonly ip=${hosts_ipv4_address[$host]} readonly hostname=${hosts_hostname[$host]} readonly agcount=${hosts_agcount[$host]:-4} -readonly swap=${hosts_agcount[$host]:-2048} +readonly swap=${hosts_swap[$host]:-2048} readonly remote=root@$ip readonly drive=$(ssh $remote '[[ -e /dev/sda ]] && echo sda || echo vda')