[Spacewalk-list] command to delete system from Spacewalk

Waldirio Manhães Pinheiro waldirio at gmail.com
Mon Jan 5 16:36:30 UTC 2015


Hello Dave

You can use spacecmd or create a script to do this.

In your SW click in Help TAB, API, Sample Scripts

To use via API, use the method like bellow

Method: deleteNote
<https://rhnsat01/rhn/apidoc/handlers/SystemHandler.jsp#top>Description:
Deletes the given note from the server.

Parameters:

   - string sessionKey
   - int serverId
   - int noteId

Returns:

   - int - 1 on success, exception thrown otherwise.


Take Care

______________
Atenciosamente
Waldirio
msn: waldirio at gmail.com
Skype: waldirio
Site: www.waldirio.com.br
Blog: blog.waldirio.com.br
LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
PGP: www.waldirio.com.br/public.html

On Mon, Jan 5, 2015 at 2:20 PM, Dave Goodbourn <dave at milk-vfx.com> wrote:

> Hi,
>
> Is there a command that can be run from the client systems that will
> remove them from the Spacewalk system? Instead of using the Delete System
> button within Spacewalk? A kind of reverse to the rhnreg_ks command?
>
> Cheers,
> Dave.
>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20150105/8a03a791/attachment.htm>


More information about the Spacewalk-list mailing list