lib/testlab/container/actions.rb in testlab-1.6.1 vs lib/testlab/container/actions.rb in testlab-1.6.2
- old
+ new
@@ -66,13 +66,13 @@
end
if self.is_ephemeral?
self.lxc_clone.start_ephemeral(clone_args)
else
- self.lxc.start(%(--daemon))
+ self.lxc.start(start_args)
end
- (self.state != :running) and raise ContainerError, "The container failed to online!"
+ (self.state != :running) and raise ContainerError, "The container failed to online! (did you create it? Check status with 'tl status')"
ZTK::TCPSocketCheck.new(:ui => @ui, :host => self.primary_interface.ip, :port => 22).wait
# If we are not in ephemeral mode we should attempt to provision our
# defined users.