linux_wiki:spacecmd_spacewalk_cmd_line

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux_wiki:spacecmd_spacewalk_cmd_line [2015/10/29 14:50]
billdozor [System Commands]
linux_wiki:spacecmd_spacewalk_cmd_line [2019/05/25 23:50] (current)
Line 3: Line 3:
 **General Information** **General Information**
  
-Spacewalk provides centralized management of Red Hat systems. (https://fedorahosted.org/spacewalk/\\+Spacewalk provides centralized management of Red Hat systems. 
 +  * Official Site: https://fedorahosted.org/spacewalk/) 
 +  * Local Wiki Page: [[linux_wiki:spacewalk]] 
 Spacecmd is the command line interface to the server and is much faster than logging into the web portal. Spacecmd is the command line interface to the server and is much faster than logging into the web portal.
  
 **Checklist** **Checklist**
-  * Spacewalk server setup +  * Distro(s): Enterprise Linux 
-  * Spacewalk user account created+  * Other: [[https://fedorahosted.org/spacewalk/wiki/HowToInstall|Spacewalk server]] setup 
 +  * Other: Spacewalk user account created
  
 ---- ----
Line 28: Line 32:
 Create the file ~/.spacecmd/config Create the file ~/.spacecmd/config
 <code bash> <code bash>
 +mkdir ~/.spacecmd
 +chmod 700 ~/.spacecmd
 +touch ~/.spacecmd/config
 +chmod 600 ~/.spacecmd/config
 +</code>
 +
 +Edit the file
 +<code bash>
 +vim ~/.spacecmd/config
 +
 [spacecmd] [spacecmd]
 server=spacewalkserver.mydomain.com server=spacewalkserver.mydomain.com
 username=usernamehere username=usernamehere
 password=passwordhere password=passwordhere
 +</code>
 +
 +Verify configuration by testing connectivity
 +<code bash>
 +spacecmd
 </code> </code>
  
Line 128: Line 147:
 Systems Not in Any Group Systems Not in Any Group
 <code bash> <code bash>
-spacecmd -q report_ungroupedsystems+spacecmd report_ungroupedsystems
 </code> </code>
  
 Systems Not Checking In and Last Checkin Time Systems Not Checking In and Last Checkin Time
 <code bash> <code bash>
-spacecmd -q report_inactivesystems+spacecmd report_inactivesystems
 </code> </code>
  
 ---- ----
  • linux_wiki/spacecmd_spacewalk_cmd_line.1446144644.txt.gz
  • Last modified: 2019/05/25 23:50
  • (external edit)