Red Hat SATELLITE 5.3.0 RELEASE NOTES Technical Information Seite 65

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 199
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 64
#Add cobbler profile and system entries for the MRG VM
cobbler profile add --name=${MRGGRID_PROFILE} --distro=${MGMT_DISTRO}
--kickstart=/root/resources/${MRGGRID_KS}
cobbler system add --name=${MRGGRID_NAME} --profile=${MRGGRID_PROFILE} --mac=$
{MRGGRID_MAC} --ip=${MRGGRID_IP} --hostname=${MRGGRID_NAME}
#Rebuild the contents of /tftpboot
cobbler sync
f) prep_RHELHost.sh – prepare kickstart and activation keys for RHEL/KVM hosts
#!/bin/bash
# This script will prepare the infrastructure to add RHEL/KVM host to RHEV
# Create the appropriate activation key
/root/resources/createRHELHKey.py
# Import the Kickstart into satellite
/root/resources/importKS_infra.py /root/resources/rhelHost.ks
# Associate the key with the kickstart
/root/resources/assocKeyKS_infra.py RHELH rhelHost
i) createRHELHKey.py – Create activation key for RHEL/KVM hosts
#!/usr/bin/python
"""
This script will create the activation key for RHEL/KVM system to be used for RHEV Hosts
"""
import xmlrpclib
SATELLITE_URL = "http://sat-vm.cloud.lab.eng.bos.redhat.com/rpc/api"
INFRA_LOGIN = "infra"
INFRA_PASSWD = "24^gold"
INFRA_ENTITLE = """monitoring_entitled
provisioning_entitled
virtualization_host_platform
"""
INFRA_PARENT = 'rhel-x86_64-server-5'
INFRA_CHILDREN = """rhn-tools-rhel-x86_64-server-5
rhel-x86_64-server-vt-5
rhel-x86_64-rhev-mgmt-agent-5
"""
INFRA_PACKAGES = """rhn-virtualization-host
osad
"""
"""
Create Activation Key for RHEL-H
65 www.redhat.com
Seitenansicht 64
1 2 ... 60 61 62 63 64 65 66 67 68 69 70 ... 198 199

Kommentare zu diesen Handbüchern

Keine Kommentare