Red Hat SATELLITE 5.3.0 RELEASE NOTES Información técnica Pagina 58

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 199
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 57
echo "-"
date
/root/resources/prep_MgmtVMs.sh
#Prep and create RHEL/KVM hosts
echo "-"
echo "Prepping first RHEL host"
echo "-"
date
/root/resources/prep_RHELHost.sh
#Prep and create RHEV hosts
echo "-"
echo "Prepping first RHEV host"
echo "-"
date
/root/resources/prep_RHEVHost.sh
#Prep tenant kickstarts
echo "-"
echo "Import Tenant kickstarts"
echo "-"
date
/root/resources/prep_tenantKS.sh
a) createOrgs.py - Create organization, allocate entitlements, and create
organizational trusts.
#!/usr/bin/python
"""
This script will create the infrastructure and tenant organizations,
divide the entitlements, and define trusts
"""
import xmlrpclib
SATELLITE_URL = "http://sat-vm.cloud.lab.eng.bos.redhat.com/rpc/api"
SATELLITE_LOGIN = "admin"
SATELLITE_PASSWORD = "24^gold"
INFRA_ORG_ENTITLEMENTS = 25
#open channel to satellite
client = xmlrpclib.Server(SATELLITE_URL, verbose=0)
#log in as administrator
key = client.auth.login(SATELLITE_LOGIN, SATELLITE_PASSWORD)
#create the infrastructure org
infraOrg = client.org.create(key, "infrastructure", "infra", "24^gold", "Mr.", "Shadow", "Man",
www.redhat.com 58
Vista de pagina 57
1 2 ... 53 54 55 56 57 58 59 60 61 62 63 ... 198 199

Comentarios a estos manuales

Sin comentarios