cli: auto start container when it preexists
This commit is contained in:
parent
7309315e81
commit
f6ff92abe6
|
@ -81,6 +81,7 @@ class Machine(object):
|
|||
def create(self):
|
||||
if self.exist():
|
||||
print('container "%s" already exists' % self.name)
|
||||
self.start()
|
||||
return
|
||||
|
||||
model = Machine(self.modelpath, self.release)
|
||||
|
|
Loading…
Reference in New Issue