Command Line Support in Spacewalk Server

 

Here we will describe how to get and use the command line interface and list of commands supported by the spacewalk server 

space walk with command line help command list

================================================

Spacewalk Username: spw-user-name

Spacewalk Password: user-creds-here

INFO: Connected to https://lpm-oss01-lpm01-app-01.int.cigar.inc/rpc/api as spw-user-name

spacecmd {SSM:0}>

spacecmd {SSM:0}>

spacecmd {SSM:0}>

spacecmd {SSM:0}> help

 

Documented commands (type help <topic>):

========================================

activationkey_addchildchannels         package_listdependencies

activationkey_addconfigchannels        package_listerrata

activationkey_addentitlements          package_listinstalledsystems

activationkey_addgroups                package_listorphans

activationkey_addpackages              package_remove

activationkey_clone                    package_removeorphans

activationkey_create                   package_search

activationkey_delete                   repo_addfilters

activationkey_details                  repo_clearfilters

activationkey_diff                     repo_create

activationkey_disable                  repo_delete

activationkey_disableconfigdeployment  repo_details

activationkey_enable                   repo_list

activationkey_enableconfigdeployment   repo_listfilters

activationkey_export                   repo_removefilters

activationkey_import                   repo_rename

activationkey_list                     repo_setfilters

activationkey_listbasechannel          repo_updatessl

activationkey_listchildchannels        repo_updateurl

activationkey_listconfigchannels       report_duplicates

activationkey_listentitlements         report_errata

activationkey_listgroups               report_inactivesystems

activationkey_listpackages             report_ipaddresses

activationkey_listsystems              report_kernels

activationkey_removechildchannels      report_outofdatesystems

activationkey_removeconfigchannels     report_ungroupedsystems

activationkey_removeentitlements       scap_getxccdfscandetails

activationkey_removegroups             scap_getxccdfscanruleresults

activationkey_removepackages           scap_listxccdfscans

activationkey_setbasechannel           scap_schedulexccdfscan

activationkey_setconfigchannelorder    schedule_cancel

activationkey_setdescription           schedule_details

activationkey_setuniversaldefault      schedule_getoutput

activationkey_setusagelimit            schedule_list

api                                    schedule_listarchived

clear                                  schedule_listcompleted

clear_caches                           schedule_listfailed

configchannel_addfile                  schedule_listpending

configchannel_backup                   schedule_reschedule

configchannel_clone                    snippet_create

configchannel_create                   snippet_delete

configchannel_delete                   snippet_details

configchannel_details                  snippet_list

configchannel_diff                     snippet_update

configchannel_export                   softwarechannel_adderrata

configchannel_filedetails              softwarechannel_adderratabydate

configchannel_forcedeploy              softwarechannel_addpackages

configchannel_import                   softwarechannel_addrepo

configchannel_list                     softwarechannel_clone

configchannel_listfiles                softwarechannel_clonetree

configchannel_listsystems              softwarechannel_create

configchannel_removefiles              softwarechannel_delete

configchannel_sync                     softwarechannel_details

configchannel_updatefile               softwarechannel_diff

configchannel_verifyfile               softwarechannel_errata_diff

cryptokey_create                       softwarechannel_errata_sync

cryptokey_delete                       softwarechannel_getorgaccess

cryptokey_details                      softwarechannel_getorgaccesstree

cryptokey_list                         softwarechannel_list

custominfo_createkey                   softwarechannel_listallpackages

custominfo_deletekey                   softwarechannel_listarches

custominfo_details                     softwarechannel_listbasechannels

custominfo_listkeys                    softwarechannel_listchildchannels

custominfo_updatekey                   softwarechannel_listerrata

distribution_create                    softwarechannel_listerratabydate

distribution_delete                    softwarechannel_listlatestpackages

distribution_details                   softwarechannel_listmanageablechannels

distribution_list                      softwarechannel_listpackages

distribution_rename                    softwarechannel_listrepos

distribution_update                    softwarechannel_listsyncschedule

errata_apply                           softwarechannel_listsystems

errata_delete                          softwarechannel_mirrorpackages

errata_details                         softwarechannel_regenerateneededcache

errata_findbycve                       softwarechannel_regenerateyumcache

errata_list                            softwarechannel_removeerrata

errata_listaffectedsystems             softwarechannel_removepackages

errata_listcves                        softwarechannel_removerepo

errata_publish                         softwarechannel_removesyncschedule

errata_search                          softwarechannel_setdetails

errata_summary                         softwarechannel_setorgaccess

filepreservation_create                softwarechannel_setorgaccesstree

filepreservation_delete                softwarechannel_setsyncschedule

filepreservation_details               softwarechannel_sync

filepreservation_list                  softwarechannel_syncrepos

get_apiversion                         softwarechannel_update

get_certificateexpiration              ssm_add

get_serverversion                      ssm_clear

get_session                            ssm_intersect

group_addsystems                       ssm_list

group_backup                           ssm_remove

group_create                           system_addchildchannels

group_delete                           system_addconfigchannels

group_details                          system_addconfigfile

group_list                             system_addcustomvalue

group_listsystems                      system_addentitlements

group_removesystems                    system_addnote

group_restore                          system_applyerrata

help                                   system_comparepackageprofile

history                                system_comparepackages

kickstart_addactivationkeys            system_comparewithchannel

kickstart_addchildchannels             system_createpackageprofile

kickstart_addcryptokeys                system_delete

kickstart_addfilepreservations         system_deletecrashes

kickstart_addoption                    system_deletenotes

kickstart_addpackages                  system_deletepackageprofile

kickstart_addscript                    system_deployconfigfiles

kickstart_addvariable                  system_details

kickstart_clone                        system_getcrashfiles

kickstart_create                       system_installpackage

kickstart_delete                       system_list

kickstart_details                      system_listbasechannel

kickstart_diff                         system_listchildchannels

kickstart_disableconfigmanagement      system_listconfigchannels

kickstart_disableremotecommands        system_listconfigfiles

kickstart_enableconfigmanagement       system_listcrashedsystems

kickstart_enablelogging                system_listcrashesbysystem

kickstart_enableremotecommands         system_listcustomvalues

kickstart_export                       system_listentitlements

kickstart_getcontents                  system_listerrata

kickstart_getsoftwaredetails           system_listevents

kickstart_getupdatetype                system_listhardware

kickstart_import                       system_listinstalledpackages

kickstart_import_raw                   system_listnotes

kickstart_importjson                   system_listpackageprofiles

kickstart_list                         system_listupgrades

kickstart_listactivationkeys           system_lock

kickstart_listchildchannels            system_reboot

kickstart_listcryptokeys               system_removechildchannels

kickstart_listcustomoptions            system_removeconfigchannels

kickstart_listoptions                  system_removecustomvalues

kickstart_listpackages                 system_removeentitlement

kickstart_listscripts                  system_removepackage

kickstart_listvariables                system_rename

kickstart_removeactivationkeys         system_runscript

kickstart_removechildchannels          system_schedulehardwarerefresh

kickstart_removecryptokeys             system_schedulepackagerefresh

kickstart_removefilepreservations      system_search

kickstart_removeoptions                system_setbasechannel

kickstart_removepackages               system_setconfigchannelorder

kickstart_removescript                 system_show_packageversion

kickstart_removevariables              system_syncpackages

kickstart_rename                       system_unlock

kickstart_setcustomoptions             system_updatecustomvalue

kickstart_setdistribution              system_upgradepackage

kickstart_setlocale                    toggle_confirmations

kickstart_setpartitions                user_adddefaultgroup

kickstart_setselinux                   user_addgroup

kickstart_setsoftwaredetails           user_addrole

kickstart_setupdatetype                user_create

kickstart_updatevariable               user_delete

list_proxies                           user_details

login                                  user_disable

logout                                 user_enable

org_addtrust                           user_list

org_create                             user_listavailableroles

org_delete                             user_removedefaultgroup

org_details                            user_removegroup

org_list                               user_removerole

org_listtrusts                         user_setemail

org_listusers                          user_setfirstname

org_removetrust                        user_setlastname

org_rename                             user_setpassword

org_setsystementitlements              user_setprefix

org_trustdetails                       whoami

package_details                        whoamitalkingto

 

Miscellaneous help topics:

==========================

time  systems  ssm

 

Undocumented commands:

======================

regx_replacement

 

spacecmd {SSM:0}>

**************************////////////////////*******************