test-network: generate debugging logs of networkd-persistent-storage.service

This commit is contained in:
Yu Watanabe
2024-06-03 18:41:26 +01:00
committed by Luca Boccassi
parent 80a3eb5ab5
commit 22fa8f6724
+2 -1
View File
@@ -526,7 +526,8 @@ def setup_system_units():
'ExecStart=',
f'ExecStart={networkctl_bin} persistent-storage yes',
'ExecStop=',
f'ExecStop={networkctl_bin} persistent-storage no'
f'ExecStop={networkctl_bin} persistent-storage no',
'Environment=SYSTEMD_LOG_LEVEL=debug' if enable_debug else '',
]
)