From 9b2e39ca90ac996b654d7e7c2718b958e176b966 Mon Sep 17 00:00:00 2001 From: Josip Rodin Date: Mon, 2 Nov 2009 14:47:50 +0100 Subject: [PATCH] konzistentnije dijagnosticke poruke --- linux/exec.tcl | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/linux/exec.tcl b/linux/exec.tcl index be7f1d6..6fc3b48 100755 --- a/linux/exec.tcl +++ b/linux/exec.tcl @@ -484,8 +484,9 @@ proc l3node.start { eid node } { set bootcfg [[typemodel $node].cfggen $node] set bootcmd [[typemodel $node].bootcmd $node] } - puts " typemodel=[typemodel $node]" - puts "bootcfg=$bootcfg i bootcmd=$bootcmd" + puts " typemodel = [typemodel $node]" + puts " bootcmd = $bootcmd" + puts " bootcfg = $bootcfg" if { ! $remote_exec } { if { $bootcmd != "/bin/sh" } { puts " writing $node_dir/boot.conf" @@ -505,7 +506,7 @@ proc l3node.start { eid node } { if { $bootcmd == "/bin/sh" } { foreach line $bootcfg { - puts " executing on $node: $line" +# puts " executing on $node: $line" set command $line if { "$command" != "" } { catch { nexec vzctl exec $node_id $command } ret @@ -596,7 +597,7 @@ proc l3node.destroy { eid node } { # } set msg "Destroying VE $node ($node_id)" - puts "\n$msg" + puts " $msg" statline $msg nexec vzctl destroy $node_id } -- 2.39.5