This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
NETWORKTYPE='FLAT' | |
CLUSTER=`hostname -d | cut -d '.' -f 1` | |
DOMAIN=`hostname -d` | |
REALM=`echo $DOMAIN | sed -e 's/\(.*\)/\U\1/'` | |
FORWARDER=`grep nameserver /etc/resolv.conf | awk '{print $2}'` | |
PASSWORD=Pa55W0rd | |
#PREP HOSTFILE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
CLIENTNAME=login1 | |
CLUSTER=cluster1 | |
CLIENTIP=10.75.0.110 | |
ONETIMEPASS=moose | |
KEYTAB=/root/hadder.keytab | |
KEYUSER=hadder | |
DOMAIN=`hostname -d` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
CLUSTER=cluster1 | |
KEYTAB=/root/admin.keytab | |
KEYUSER=admin | |
DIRECTORYAPPLIANCE=`hostname -f` | |
DOMAIN=`hostname -d` | |
REALM=`echo $DOMAIN | sed -e 's/\(.*\)/\U\1/'` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
CLIENTNAME=login1 | |
CLUSTER=cluster2 | |
CLIENTIP=10.75.0.51 | |
ONETIMEPASS=moose | |
DOMAIN=flighty.alces.network | |
REALM=`echo $DOMAIN | sed -e 's/\(.*\)/\U\1/'` | |
DIRECTORY_IP=10.75.0.161 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Variables | |
CLUSTER_INTERFACE="eth1" | |
CLUSTER_IP="10.10.0.1" | |
CLUSTER_NETWORK="10.10.0.0" | |
CLUSTER_NETMASK="255.255.0.0" | |
CLUSTER_CIDR="$(ipcalc -p 1.1.1.1 255.255.0.0 |sed 's/.*=//g')" | |
DHCP_MIN="10.10.200.0" | |
DHCP_MAX="10.10.200.255" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NAME=metalcontroller1 | |
RAWIMAGE=/Users/steve/iso/metalcontroller-1309191016_generic-cloudinit.raw | |
EXTERNALBRIDGEADAPTER=en0 | |
CONSOLE=1 | |
NIC2=1 | |
ISO=/Users/steve/iso/metalcontroller_userdata.iso | |
VMPATH=/tmp/stevevm/${NAME}/ | |
mkdir -p $VMPATH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
RAMDISKNAME=base-1309191049 | |
IMAGEFILE=${RAMDISKNAME}_live.squash | |
IMAGEURL=https://flight-images.s3.eu-west-2.amazonaws.com/${IMAGEFILE} | |
SUPPORTPACKFILE=${RAMDISKNAME}_live.supportpack | |
SUPPORTPACKURL=https://flight-images.s3.eu-west-2.amazonaws.com/${SUPPORTPACKFILE} | |
DEPLOYMENTDIR=/opt/flight/deployment/ramdisk | |
IMAGEDIR=${DEPLOYMENTDIR}/${RAMDISKNAME} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
DISTRO=centos7 | |
INSTALLKERNELURL=https://mirror.bytemark.co.uk/centos/7/os/x86_64/images/pxeboot/vmlinuz | |
INSTALLINITRDURL=https://mirror.bytemark.co.uk/centos/7/os/x86_64/images/pxeboot/initrd.img | |
INSTALLURL=https://mirror.bytemark.co.uk/centos/7/os/x86_64/ | |
DEPLOYMENTDIR=/opt/flight/deployment/kickstart/${DISTRO} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NAME=node1 | |
CONSOLE=0 | |
VMPATH=/tmp/stevevm/${NAME}/ | |
mkdir -p $VMPATH | |
VBoxManage createvm --name ${NAME} --ostype RedHat_64 --register --basefolder $VMPATH | |
VBoxManage modifyvm ${NAME} --cpus 1 --memory 4096 --vrde on --vrdeport 5001 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
wget https://openflighthpc.s3-eu-west-1.amazonaws.com/repos/openflight-dev/openflight-dev.repo -O /etc/yum.repos.d/openflight-dev.repo | |
yum makecache | |
yum -y install flight-runway | |
yum -y install flight-metal |
OlderNewer