atgreen / laptoplab Goto Github PK
View Code? Open in Web Editor NEWScripts to build/manage demo guests on Red Hat Enterprise Linux
Scripts to build/manage demo guests on Red Hat Enterprise Linux
ll-build is a script I wrote to create a number of KVM guests to test/demo technologies on my laptop. The ll-build script currently creates three KVM guests from the RHEL DVD ISO image: * an IPA server * a CloudForms System Engine server * a cobbler server You should be able to PXE boot new guests from the cobbler server on the private network that is created on your laptop. ll-build requires a few things before you start: 1. You'll need an RHN account and a RHEL DVD ISO image. 2. You'll need to allocate some entitlements to your System Engine server and download a manifest file (manifest.zip) from access.redhat.com. 3. You'll need a public ssh key for the default user account. 4. You'll need to set up a private network for libvirt managed guests. Drop the following file in /etc/libvirt/qemu/networks/10_0.xml : <network> <name>10_0</name> <uuid>fc760627-1490-3fa4-7719-7b40a1c48f65</uuid> <forward mode='nat'/> <bridge name='ll0' stp='on' forwardDelay='0' ></bridge> <ip address='10.0.0.1' netmask='255.255.255.0'/> </network> Now do this... cd /etc/libvirt/qemu/networks/autostart/ ln -s ../10_0.xml . That's it. ll-build requires that you set a number of environment variables to configure the system. They are documented at the top of the script. You can either modify the script to change these values, or create a ~/.ll-config file to set all of the values. Here's an example... # ~/.ll-config # # Copyright (C) 2012 Anthony Green <[email protected]> # LL_DOMAIN=atgreen.org LL_RHELDVD=/home/green/Downloads/rhel-server-6.3-x86_64-dvd.iso LL_COBBLER_DISTRO_NAME="rhel6.3-x86_64" LL_ROOTPW=r3dhat1. LL_MOUNTPOINT=/mnt LL_RHN_LOGIN=greenrhn LL_RHN_PASSWORD=myrhnpassword LL_SE_MANIFEST=/home/green/Downloads/manifest.zip LL_SE_ADMIN=admin LL_SE_ORGNAME=Laptop_Lab LL_IPA_USER_LOGIN=green LL_IPA_USER_FIRST=Anthony LL_IPA_USER_LAST=Green LL_IPA_USER_PUBKEY="AAAABkjhsdGyc2EAAAABIwAAAIEAulmkoAcVRdBCIdH1bPcb6CTpyFH31Zfp96yxd2TJamQuiZcrmIbuwP6KdTHILtLbNn+FWkcYNFA6Rfjz1997u0JZ4zfE0pJMd226vpUbZOseeKXmBf8IgjitLnPyKq6FNufQz+xsnwOYumLAb1NjzrzgNvtAY5WnXrhi4gb1YOs="
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.