Sync capsule with Satelitte server

On satelitte server: 
#List capsules get id of capsule to be synced 
hammer capsule list
# get info of capsule 

[root@sat ~]# hammer capsule info --id 2
[Foreman] Username: admin
[Foreman] Password for admin: 
Id:         2
Name:       vmcapsule12
URL:        https://vmcapsule12:9090
Features:   Puppet, Puppet CA, Discovery, Pulp Node
Created at: 2015/07/19 07:07:14
Updated at: 2015/07/19 07:07:14

hammer capsule content lifecycle-environments --id 2

[root@sat ~]# hammer capsule content lifecycle-environments --id 2
[Foreman] Username: admin
[Foreman] Password for admin: 
---|---------|---------------------
ID | NAME    | ORGANIZATION        
---|---------|---------------------
1  | Library | Default Organization
---|---------|---------------------
[root@sat ~]# 


hammer capsule content add-lifecycle-environment --id 1 --environment-id 1
hammer capsule content remove-lifecycle-environment --id 1 --environment-id 1
hammer capsule content synchronize --id 1
hammer capsule content synchronize --id 1 --environment-id 1
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s