Browse Source

changed hw_disk_bus to ide to fix resource provisioning

master
Sebastian Rieger 8 years ago
parent
commit
9def79246d
  1. 3
      create-f5-bigip-image/create-f5-big-ip-image.sh
  2. 4
      create-f5-bigip-image/dynamic-subtype-F5-BIGIP.json

3
create-f5-bigip-image/create-f5-big-ip-image.sh

@ -5,6 +5,7 @@
# changelog:
#
# V0.1 initial version
# V0.2 changed hw_disk_bus to ide to fix resource provisioning
# usage
if [ ! $# -eq 2 ] ; then
@ -147,7 +148,7 @@ qemu-img convert -O qcow2 $BIGIP_QCOW2_BASENAME.raw $BIGIP_PATCHED_QCOW2
# use recommendations from https://support.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/bigip-ve-kvm-setup-11-3-0/2.html#r_ve_vmware_1022_esx_mach_reqs
glance image-create --container-format bare --disk-format qcow2 --visibility public --name $GLANCE_IMAGE_NAME \
--file $BIGIP_PATCHED_QCOW2 --property hw_disk_bus=virtio --property serial=1 \
--file $BIGIP_PATCHED_QCOW2 --property hw_disk_bus=ide --property serial=1 \
--property hw_vif_model=virtio --property hw_cdrom_type=ide --property release="$GLANCE_IMAGE_RELEASE" --property subtype=F5-BIGIP --property config_disk_type=disk
# create default flavor

4
create-f5-bigip-image/dynamic-subtype-F5-BIGIP.json

@ -8,7 +8,7 @@
"interface_pattern": "eth{0}",
"hw_ram": 4096,
"cli_protocol": "ssh",
"hw_disk_bus": "virtio",
"hw_disk_bus": "ide",
"baseline_flavor": "F5-BIGIP.small",
"plugin_name": "F5-BIGIP",
"hw_vcpus": 2,
@ -22,4 +22,4 @@
"gui_visible": true
}
]
}
}
Loading…
Cancel
Save