[Spacewalk-list] command to delete system from Spacewalk

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


Humm

As best practice I recommend you create a routine in the server to check if
you have duplicate and if yes, remove the older.

This is one way, you can do by different's ways.

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:46 PM, Dave Goodbourn <dave at milk-vfx.com> wrote:

> Ah, I was hoping to be able to run it from the client before I
> re-kickstart it so there isn't a duplicate entry in Spacewalk, so it was
> going to be part of the whole kickstart process.
>
>
>
> On 5 January 2015 at 16:30, Matthew Madey <mattmadey at gmail.com> wrote:
>
>> You can do it easily from the Spacewalk server using spacecmd.
>>
>> # spacecmd system_delete system.example.com
>>
>> spacecmd {SSM:0}> system_delete
>> system_delete: Delete a system profile
>> usage: system_delete <SYSTEMS>
>>
>> <SYSTEMS> can be any of the following:
>> name
>> ssm (see 'help ssm')
>> search:QUERY (see 'help system_search')
>> group:GROUP
>> channel:CHANNEL
>>
>>
>> On Mon, Jan 5, 2015 at 10:20 AM, 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
>>>
>>
>>
>> _______________________________________________
>> Spacewalk-list mailing list
>> Spacewalk-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>
>
>
> _______________________________________________
> 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/1b51ae83/attachment.htm>


More information about the Spacewalk-list mailing list