Skip to content

Commit

Permalink
Merge pull request #12 from ggatward/HotFix
Browse files Browse the repository at this point in the history
Add export dir info to readme
  • Loading branch information
ggatward authored Nov 13, 2017
2 parents 333972a + e8d502c commit 302970f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,18 @@ hammer user create --login svc-api-user --firstname API --lastname User \
--organization-ids 1 --default-organization-id 1 --admin true
```

Foreman needs to be configured to export content to the location you require. By default the path is
/var/lib/pulp/katello-export - this will result in you probably filling your /var/lib/pulp partition!
The configs in these scripts assume that the exports are going to /var/sat-export - this should be a
dedicated partition or even better dedicated disk just for export content.
To set the default export location in foreman:
```
hammer settings set --name pulp_export_destination --value /var/sat-export
chown foreman:foreman /var/sat-export
semanage fcontext -a -t foreman_var_run_t "/var/sat-export(/.*)?"
restorecon -RvF /var/sat-export
```

## Assumptions
For content import to a disconnected Satellite, it is assumed that the relevant
subscription manifest has been copied to and uploaded in the disconnected satellite.
Expand Down

0 comments on commit 302970f

Please sign in to comment.