Do not depend on bash logout and pass -n to poweroff (9p is sync,dirsync)
[gruntmaster-daemon.git] / lib / Gruntmaster / Daemon / Format.pm
index 6160a31e9460a08bba84bafb9f44eab524ffc89d..a492e63c80ecc9bd06b8c389495dd05325b6cdb7 100644 (file)
@@ -30,7 +30,7 @@ sub runvm {
        $vm{$name} = Expect::Simple->new({
                Cmd => $cmd,
                Prompt => '# ',
-               DisconnectCmd => 'exit',
+               DisconnectCmd => '/sbin/poweroff -fn',
                RawPty => 1,
                Timeout => 10,
        });
This page took 0.009243 seconds and 4 git commands to generate.