File: example3.yaml

package info (click to toggle)
cloud-init 25.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,412 kB
  • sloc: python: 135,894; sh: 3,883; makefile: 141; javascript: 30; xml: 22
file content (22 lines) | stat: -rw-r--r-- 623 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#cloud-config
rh_subscription:
  activation_key: foobar
  org: 12345
  auto_attach: true
  service_level: self-support
  add_pool:
    - 1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a
    - 2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b
  enable_repo:
    - repo-id-to-enable
    - other-repo-id-to-enable
  disable_repo:
    - repo-id-to-disable
    - other-repo-id-to-disable
  # Alter the baseurl in /etc/rhsm/rhsm.conf
  rhsm_baseurl: http://url
  # Alter the server hostname in /etc/rhsm/rhsm.conf
  server_hostname: foo.bar.com
  # Set `subscription-manager release --set=6Server` then
  # delete /var/cache/{dnf,yum}
  release_version: 6Server