X-Git-Url: http://git.ieval.ro/?p=gruntmaster-daemon.git;a=blobdiff_plain;f=lib%2FGruntmaster%2FDaemon%2FFormat.pm;h=a492e63c80ecc9bd06b8c389495dd05325b6cdb7;hp=6160a31e9460a08bba84bafb9f44eab524ffc89d;hb=4bc82f170161993315de80996861dc4a8d2ed3f3;hpb=3dc5f36dacce85fe9996be5ff8f4a7c93e6dbf16 diff --git a/lib/Gruntmaster/Daemon/Format.pm b/lib/Gruntmaster/Daemon/Format.pm index 6160a31..a492e63 100644 --- a/lib/Gruntmaster/Daemon/Format.pm +++ b/lib/Gruntmaster/Daemon/Format.pm @@ -30,7 +30,7 @@ sub runvm { $vm{$name} = Expect::Simple->new({ Cmd => $cmd, Prompt => '# ', - DisconnectCmd => 'exit', + DisconnectCmd => '/sbin/poweroff -fn', RawPty => 1, Timeout => 10, });