mirror of
https://github.com/YunoHost-Apps/garage_ynh.git
synced 2024-09-03 18:36:32 +02:00
add setting for self bootstrap peer
This commit is contained in:
parent
53cecfdff5
commit
728fa923b5
1 changed files with 5 additions and 0 deletions
|
@ -149,6 +149,11 @@ fi
|
||||||
|
|
||||||
self_bootstrap_peers="$($garage node id --quiet)"
|
self_bootstrap_peers="$($garage node id --quiet)"
|
||||||
garage_layout="$($garage layout show)"
|
garage_layout="$($garage layout show)"
|
||||||
|
|
||||||
|
self_bootstrap_peers="$($garage_command node id --quiet)"
|
||||||
|
ynh_app_setting_set --app=$app --key=self_bootstrap_peers --value="$self_bootstrap_peers"
|
||||||
|
|
||||||
|
garage_layout="$($garage_command layout show)"
|
||||||
ynh_app_setting_set --app=$app --key=garage_layout --value="$garage_layout"
|
ynh_app_setting_set --app=$app --key=garage_layout --value="$garage_layout"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue