mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 03:12:30 +00:00 
			
		
		
		
	change genimage.pm to use runcmd streaming not runcmd_S which is removed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10359 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -292,8 +292,8 @@ sub process_request { | ||||
|    # now run the specific genimage command | ||||
|    $callback->({info=>["$cmd"]}); | ||||
|    $::CALLBACK=$callback; | ||||
|    #my $output = xCAT::Utils->runcmd("$cmd", 0, 1);  | ||||
|    my $output = xCAT::Utils->runcmd_S("$cmd", 0, 1); # stream output | ||||
|    #my $output = xCAT::Utils->runcmd("$cmd", 0, 1); # non-stream  | ||||
|    my $output = xCAT::Utils->runcmd("$cmd", 0, 1, 1); # stream output  | ||||
|    open(FILE, ">/tmp/genimageoutput"); | ||||
|    foreach my $entry (@$output) { | ||||
|     print FILE $entry; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user