services:cobbler
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| services:cobbler [2016/06/29 18:42] – dgalloway | services:cobbler [2022/11/22 11:49] (current) – akraitman | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== Cobbler ====== |
| ===== Summary ===== | ===== Summary ===== | ||
| - | [[https:// | + | [[https:// |
| Access the Web UI at https:// | Access the Web UI at https:// | ||
| Line 7: | Line 7: | ||
| ===== Reimaging/ | ===== Reimaging/ | ||
| See [[: | See [[: | ||
| + | |||
| + | ===== Creating a new user for Web UI access ===== | ||
| + | - In the '' | ||
| + | - Create a new branch named '' | ||
| + | - Paste the output under '' | ||
| + | - git commit, git push the branch, and create a Pull Request | ||
| + | - '' | ||
| + | |||
| + | < | ||
| + | # Example | ||
| + | $ ~/ | ||
| + | Enter username: bob | ||
| + | |||
| + | ------ String for cobbler.yml ------ | ||
| + | bob: | ||
| + | |||
| + | |||
| + | # Add the user to the cobbler.yml secrets group_vars file | ||
| + | dgalloway@w541 ceph-sepia-secrets (wip-bob)$ git diff | ||
| + | diff --git a/ | ||
| + | index 758427a..6968689 100644 | ||
| + | --- a/ | ||
| + | +++ b/ | ||
| + | @@ -15,6 +15,7 @@ users_digest_lines: | ||
| + | - " | ||
| + | - " | ||
| + | - " | ||
| + | + - " | ||
| + | </ | ||
| ===== Adding a new Distro ===== | ===== Adding a new Distro ===== | ||
| - Create an entry for the new distro in ceph-cm-ansible' | - Create an entry for the new distro in ceph-cm-ansible' | ||
| - | | + | |
| + | - **If** the distro' | ||
| - Add a dummy entry (Distro name and blank iso var) to '' | - Add a dummy entry (Distro name and blank iso var) to '' | ||
| - Add to '' | - Add to '' | ||
| - | - Else if the distro' | + | - **Else if** the distro' |
| - | - Run '' | + | - Run '' |
| - In cobbler web UI, go to **Profiles** | - In cobbler web UI, go to **Profiles** | ||
| - Click **Create New Sub-profile** | - Click **Create New Sub-profile** | ||
| Line 20: | Line 50: | ||
| - Set **Parent Profile** to '' | - Set **Parent Profile** to '' | ||
| - **Save** | - **Save** | ||
| + | |||
| + | ==== RHEL in Sepia ==== | ||
| + | Because RHEL ISOs are only available inside the Red Hat firewall, we can't add an '' | ||
| + | |||
| + | - Find the ISO hosted inside the Red Hat firewall and download it | ||
| + | - Once downloaded, '' | ||
| + | - In the ceph-sepia-secrets repo, set the appropriate '' | ||
| + | |||
| + | ==== Error adding brand new distro ==== | ||
| + | Cobbler keeps a list of supported distros in ''/ | ||
| + | |||
| + | If a distro is brand-spankin' | ||
| + | |||
| + | First try running '' | ||
| + | |||
| + | - Edit ''/ | ||
| + | - '' | ||
| + | |||
| + | ===== Re-importing a Distro ===== | ||
| + | This would typically be done if a newer ISO (minor revision) of an OS is released. | ||
| + | |||
| + | - First, you need to make sure no machines in Cobbler are set to use the distro you plan to replace | ||
| + | - ssh to the Cobbler host | ||
| + | - Set the profile for each machine using the distro you wish to replace with something else < | ||
| + | # Example: | ||
| + | for host in $(cobbler system find --profile Ubuntu-16.04-server-x86_64); | ||
| + | </ | ||
| + | - You may wish to '' | ||
| + | cobbler system find --profile Ubuntu-16.04-server-x86_64 > currently_xenial.dgalloway | ||
| + | for host in $(cat currently_xenial.dgalloway); | ||
| + | # Reimport distro | ||
| + | for host in $(cat currently_xenial.dgalloway); | ||
| + | rm currently_xenial.dgalloway | ||
| + | </ | ||
| + | - Delete all associated profiles under the **Profiles** tab in the Cobbler web UI | ||
| + | - Delete the distro from **Distros** in the web UI | ||
| + | - Proceed with [[services: | ||
services/cobbler.1467225736.txt.gz · Last modified: by dgalloway
