From 37032d17cc7a8279667a15c70cfbd7c2b88b9745 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Mon, 3 Dec 2018 19:20:59 +0000 Subject: [PATCH] Update m1.medium RAM. m1.medium was created with 10240 MB of RAM. Change this to 4096 to be more dev env friendly. AWS uses a flavor with 8 GB by default (m4.large), but the libvirt provider is using 2 and 3 GB VMs, so 4 GB should be enough. We may just need to make flavor selection easier. --- 03_configure_undercloud.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/03_configure_undercloud.sh b/03_configure_undercloud.sh index bc41f77..da0c2a0 100755 --- a/03_configure_undercloud.sh +++ b/03_configure_undercloud.sh @@ -11,7 +11,7 @@ if ! openstack flavor show tiny; then openstack flavor create --ram 1024 --disk 10 --vcpu 2 --public tiny fi if ! openstack flavor show m1.medium; then - openstack flavor create --ram 10240 --disk 20 --vcpu 2 --public m1.medium + openstack flavor create --ram 4096 --disk 20 --vcpu 2 --public m1.medium fi if ! openstack network show public; then openstack network create --external --provider-physical-network datacentre --provider-network-type flat public