Re: [Qemu-devel] Login a guest use commandline

2005-11-10 Thread shunwen
On δΈ‰, 2005-11-09 at 12:46 +0100, Martin Koniczek wrote: sudo qemu -hda testaa.img -boot c -localtime -serial stdio -pidfile pidfile1.txt sleep 300 root 123456 ifconfig you intend to queue commands to be executed within the qemu guest? Yes! is not suitable for entering commands,

[Qemu-devel] Login a guest use commandline

2005-11-09 Thread zheng sw
when I run the command in bash: sudo qemu -hda testaa.img -boot c -localtime -serial stdio -pidfile pidfile1.txt sleep 300 root 123456 ifconfig root is the guest's user, 123456 is password, Why can't I login in the guest and run the ifconfig? and run sudo qemu -hda testaa.img -boot c

Re: [Qemu-devel] Login a guest use commandline

2005-11-09 Thread Henrik Nordstrom
On Wed, 9 Nov 2005, Martin Koniczek wrote: and if you expect to interact on the serial console after your startup commands, you would be lost with classical piping anyway. perhaps screen helps you there? see man screen expect is the tool in such situations as well.. an expect script can at