pulp-admin login -u admin
pulp-admin rpm repo create --repo-id "repo ID" \ --display-name "Human readable name" \ --feed="URL" --relative-url "Publishing URL" \ --serve-http true --serve-https true
pulp-admin rpm repo create --repo-id ScientificLinux6_Fastbugs_x86_64 \ --display-name "Scientific Linux 6 Fastbugs Updates x86_64" \ --feed http://ftp.scientificlinux.org/linux/scientific/6/x86_64/updates/fastbugs/ --relative-url ScientificLinux/6/Fastbugs/x86_64 --serve-http true --serve-https true
pulp-admin -uadmin -padmin rpm repo create --repo-id RHEL6_OS_x86_64 \ --feed https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/os \ --feed-ca-cert /etc/rhsm/ca/redhat-uep.pem \ --feed-key=/etc/pki/entitlement/2110182916095302994-key.pem \ --feed-cert=/etc/pki/entitlement/2110182916095302994.pem \ --relative-url "RHEL/6/OS/x86_64/" --serve-http "true" \ --serve-https "true" --display-name "RHEL6 OS x86_64"
pulp-admin rpm repo uploads rpm --file "file name" --repo-id="repo ID"
pulp-admin rpm repo sync run --repo-id "repo ID"
pulp-admin rpm repo list
pulp-admin rpm repo copy rpm --from-repo-id "source repo ID" \ --to-repo-id "target repo ID"
pulp-admin rpm repo sync schedules create --schedule P7D \ --repo-id "repo ID"More info at pulp-user-guide.readthedocs.org.
pulp-admin rpm repo publish run --repo-id "repo ID"