mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2025-05-10 10:44:59 -04:00
deploy-initial: fix obtaining swap size
This commit is contained in:
parent
fed4e23007
commit
3c8a2b7ac2
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue