[Spacewalk-list] Running Remote Commands with ">>" In Script

Glennie, Jonathan - 0443 - MITLL jrglenni at ll.mit.edu
Mon May 19 17:23:14 UTC 2014


2.1.  I also ran into problems with comparison operators in if statements
but I was able to switch to -lt or -lt.  I would imagine that there has to
be some sort of escape character in the WebUI that tells it to interprete
the literal character, but for now it hasn't been a show stopper.  

-----Original Message-----
From: spacewalk-list-bounces at redhat.com
[mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Milan Zázrivec
Sent: Monday, May 19, 2014 4:43 AM
To: spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] Running Remote Commands with ">>" In Script

On Friday 16 May 2014 17:37:22 Glennie, Jonathan - 0443 - MITLL wrote:
> Hello All-
> 
> 
> 
> I'm trying to push a script via the web console to a group of 
> machines.  In the script, I have a line that echoes some text into 
> /etc/fstab.  When I paste the script into the window, everything shows 
> up fine.  However, if I look at the event history for the machines, it 
> shows the script with the ">>" after the echo statement removed.  I've 
> tried a few different ways of entering the characters in the web 
> console but to no avail.  How can I enter the script so that it knows to
use the ">" character?

Which Spacewalk version is this?

-MZ

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5410 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20140519/5bee8074/attachment.p7s>


More information about the Spacewalk-list mailing list