Support configured containers in start

This commit is contained in:
jpic
2021-04-24 13:12:19 +02:00
parent ce931a2cc6
commit d5544a6e85
+1 -1
View File
@@ -49,7 +49,7 @@ class Container:
if result['State'] == 'running':
target.output.info(f'{self.full_name} already running')
return
elif result['State'] == 'exited':
elif result['State'] in ('exited', 'configured'):
target.output.info(f'{self.full_name} starting')
await target.exec('podman', 'start', self.full_name)
return