clean pid file, it prevents qemu to restart otherwise
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 28 Mar 2008 16:04:33 +0000 (16:04 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 28 Mar 2008 16:04:33 +0000 (16:04 +0000)
system/template-qemu/start-qemu-node

index eee7a1e..9b53419 100755 (executable)
@@ -41,6 +41,8 @@ fi
 
 echo "New $HDA is created..."
 
+rm -f qemu.pid
+
 #Command for running the Qemu Emulator
 ARGS="-boot d -cdrom ${NODE_ISO} -hda ${HDA} -m ${RAM}  -net nic,macaddr=${MACADDR} -net $TAP -nographic -pidfile qemu.pid"
 echo $$ > shell.pid