Merge "Fix CentOS swap creation"

This commit is contained in:
Jenkins 2017-05-17 12:58:43 +00:00 committed by Gerrit Code Review
commit 5a8797c019

View File

@ -31,7 +31,7 @@ packages_install:
packages_remove: []
swap_create_command: "dd if=/dev/zero of=/openstack/swap.img bs=1M count={{ bootstrap_host_swap_size*1024 }}"
swap_create_command: "dd if=/dev/zero of=/openstack/swap.img bs=1M count={{ (bootstrap_host_swap_size | int) * 1024 }}"
rc_local: /etc/rc.d/rc.local
rc_local_insert_before: "^touch /var/lock/subsys/local$"