hello. I haven't tried it, but I imagine an expect script will do exactly what you want. You should be able to get the console going, through xl, type your commands and save the output, as well as restart the domu, all from such an expect script. -thanks -Brian