Skip to content

Commit 6a5e492

Browse files
committed
Updates CentOS version 6.4 to 6.5
1 parent 9ca8665 commit 6a5e492

4 files changed

+24
-2
lines changed

deploy-rdo-example.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ RDO_NAME=rdo-test-$RANDOM
1919
ESXI_PUBLIC_SWITCH=vSwitch0
2020
ESXI_PUBLIC_VMNIC=vmnic0
2121

22-
LINUX_TEMPLATE_VMDK=/vmfs/volumes/$TEMPLATES_DATASTORE/centos-6.4-template-100G/centos-6.4-template-100G.vmdk
22+
LINUX_TEMPLATE_VMDK=/vmfs/volumes/$TEMPLATES_DATASTORE/centos-6.5-template-100G/centos-6.5-template-100G.vmdk
2323

2424
if [ "$OPENSTACK_RELEASE" == "grizzly" ]; then
2525
HYPERV_TEMPLATE_VMDK=/vmfs/volumes/$TEMPLATES_DATASTORE/hyperv-2012-template-100G/hyperv-2012-template-100G.vmdk
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/sh
2+
set -e
3+
4+
BASEDIR=$(dirname $0)
5+
source $BASEDIR/config
6+
FLOPPY_IMAGE_PATH=$BASEDIR/ks_cloudinit.flp
7+
ISO_PATH=/vmfs/volumes/$ISO_DATASTORE/$ISO_DIR/CentOS-6.4-x86_64-bin-DVD1-ks.iso
8+
SIZE=10G
9+
10+
$BASEDIR/create-vm-template.sh $TEMPLATES_DATASTORE rhel6-64 centos-6.5-cloudinit-template-$SIZE 1024 $SIZE "$ISO_PATH" linux "$FLOPPY_IMAGE_PATH" "VM Network" true true
11+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/sh
2+
set -e
3+
4+
BASEDIR=$(dirname $0)
5+
source $BASEDIR/config
6+
FLOPPY_IMAGE_PATH=$BASEDIR/ks.flp
7+
ISO_PATH=/vmfs/volumes/$ISO_DATASTORE/$ISO_DIR/CentOS-6.4-x86_64-bin-DVD1-ks.iso
8+
SIZE=100G
9+
10+
$BASEDIR/create-vm-template.sh $TEMPLATES_DATASTORE rhel6-64 centos-6.5-template-$SIZE 1024 $SIZE "$ISO_PATH" linux "$FLOPPY_IMAGE_PATH" "VM Network" true true
11+

test-linked-snapshot.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ NET_ADAPTER_TYPE=e1000e
1111
ssh [email protected] /vmfs/volumes/ssd1/unattended-scripts/delete-esxi-vm.sh "$VM_NAME2" $DATASTORE
1212
ssh [email protected] /vmfs/volumes/ssd1/unattended-scripts/delete-esxi-vm.sh "$VM_NAME" $DATASTORE
1313

14-
ssh [email protected] /vmfs/volumes/ssd1/unattended-scripts/create-esxi-vm.sh $DATASTORE rhel6-64 "$VM_NAME" $POOL_NAME 1024 2 2 - /vmfs/volumes/ssd1/centos-6.4-template/centos-6.4-template.vmdk - - - false $NET_ADAPTER_TYPE false "VM Network"
14+
ssh [email protected] /vmfs/volumes/ssd1/unattended-scripts/create-esxi-vm.sh $DATASTORE rhel6-64 "$VM_NAME" $POOL_NAME 1024 2 2 - /vmfs/volumes/ssd1/centos-6.5-template/centos-6.5-template.vmdk - - - false $NET_ADAPTER_TYPE false "VM Network"
1515
ssh [email protected] /vmfs/volumes/ssd1/unattended-scripts/create-esxi-vm-snapshot.sh "$VM_NAME" template false
1616

1717
ssh [email protected] /vmfs/volumes/ssd1/unattended-scripts/create-esxi-vm.sh $DATASTORE rhel6-64 "$VM_NAME2" $POOL_NAME 1024 2 2 - /vmfs/volumes/ssd1/$VM_NAME/$VM_NAME-000001.vmdk - - - false $NET_ADAPTER_TYPE false "VM Network"

0 commit comments

Comments
 (0)