aboutsummaryrefslogtreecommitdiff
path: root/scenarios/fragments
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-09-27 11:49:44 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-09-27 11:50:08 +0200
commit7011ec431f021a0e1800ad37e738dd43af0b54a6 (patch)
treed1f7232eb4c90cbea17cacc86bdd32f9dd0ebbc3 /scenarios/fragments
parentc78e4f8005b8dc221190b1da736984f289225326 (diff)
downloadmknet-7011ec431f021a0e1800ad37e738dd43af0b54a6.tar.gz
mknet-7011ec431f021a0e1800ad37e738dd43af0b54a6.zip
Add sled no-sync
Diffstat (limited to 'scenarios/fragments')
-rw-r--r--scenarios/fragments/garage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scenarios/fragments/garage.py b/scenarios/fragments/garage.py
index 34aae30..739f982 100644
--- a/scenarios/fragments/garage.py
+++ b/scenarios/fragments/garage.py
@@ -59,7 +59,7 @@ def deploy_follow(uroot={}, us3_api={}, us3_web={}, uadmin={}):
sync_on_key_up()
shared.log("ready")
-def to_toml(d): return "\n".join([ f"{k} = \"{v}\"" for k, v in d.items() ])
+def to_toml(d): return "\n".join([ f"{k} = {v}" if type(v) is int else f"{k} = \"{v}\"" for k, v in d.items() ])
def daemon(uroot={}, us3_api={}, us3_web={}, uadmin={}):
root = {
"metadata_dir": f"{storage_path}/meta",