
{RHEVM_IP} netconsole=${RHEVM_IP} rootpw=${passwd} ssh_pwauth=1 local_boot"
# Update cobbler system files
cobbler sync
h) prep_tenantKS.sh performs the following:
• creates custom channel on satellite for applications
• creates an activation key for the VM running the Java application
• imports these kickstart files
◦ basic RHEL55
◦ RHEL55 grid execute node
◦ RHEL55 gird execute node with render application
◦ RHEL55 with java application
◦ RHEL55 with JBoss Seam booking demo application
• associates activation keys to selected VM (others use the default)
• associates the application channel GPG key with the Java kickstart
#!/bin/bash
# This script will preload the tenant organization with kickstarts for tenant deployment
# create apps channel on the satellite
/root/resources/prep_AppsChannel.sh
# create any activation keys
/root/resources/createJavaActKey.py
# import kickstarts
/root/resources/importKS_tenant.py /root/resources/rhel55_basic.ks
/root/resources/importKS_tenant.py /root/resources/rhel55_mrg_exec.ks
/root/resources/importKS_tenant.py /root/resources/rhel55_mrg_render.ks
/root/resources/assocKeyKS_tenant.py tenantMRGGridExec rhel55_mrg_exec
/root/resources/assocKeyKS_tenant.py tenantMRGGridExec rhel55_mrg_render
/root/resources/importKS_tenant.py /root/resources/rhel55_java.ks
/root/resources/assocKeyKS_tenant.py tenantrheljava rhel55_java
/root/resources/importKS_tenant.py /root/resources/rhel55_jboss.ks
# associate GPG keys with kickstarts
/root/resources/addGPGKey_tenant.py rhel55_java /var/www/html/pub/APP-RPM-GPG-KEY
i) prep_AppsChannel.sh does the following:
• generates GPG key and signs the javaApp RPM
• creates application custom channel
• pushes the RPM to the created channel
#!/bin/bash
# source env vars
www.redhat.com 70
Comentarios a estos manuales