-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
This commit is contained in:
jbjohnso 2008-06-06 19:37:15 +00:00
parent fed519c557
commit fbfdb5d621

View File

@ -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;