Red Hat SATELLITE 5.3.0 RELEASE NOTES Informacje Techniczne Strona 58

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 199
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 57
1 2 ... 53 54 55 56 57 58 59 60 61 62 63 ... 198 199

Komentarze do niniejszej Instrukcji

Brak uwag