From fbfdb5d62155575f1d9c3a69deccfcdfbe71b2dc Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Fri, 6 Jun 2008 19:37:15 +0000 Subject: [PATCH] -Allow getpostscript via the 'install monitor' channel git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1592 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/sbin/xcatd | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/xCAT-server/sbin/xcatd b/xCAT-server/sbin/xcatd index 4aa7f9d30..91360cf96 100755 --- a/xCAT-server/sbin/xcatd +++ b/xCAT-server/sbin/xcatd @@ -214,6 +214,12 @@ if ($inet6support) { } elsif ($text =~ /locktftpdir/) { chmod 0755,"$tftpdir/xcat/$node"; chmod 0644,glob("$tftpdir/xcat/$node/*"); + } elsif ($text =~ /^getpostscript/) { + my $reply =plugin_command({command=>['getpostscript'],_xcat_clienthost=>[$node]},undef,\&convey_response); + foreach (@{$reply->{data}}) { + print $conn $_; + } + close($conn); } elsif ($text =~ /^setiscsiparms/) { $text =~ s/^setiscsiparms\s+//; my $kname;