From 9db70b388c4f9675567e27a59d08b163159b052c Mon Sep 17 00:00:00 2001
From: Robert Collins <rbtcollins@hp.com>
Date: Mon, 24 Feb 2014 15:09:58 +1300
Subject: [PATCH] Install libffi-dev needed for python-glanceclient

Change-Id: I9e1815c685d8cd3256a50a7e5a5966ec91eadc8a
---
 .../files/nodepool/scripts/prepare_tripleo.sh                  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/openstack_project/files/nodepool/scripts/prepare_tripleo.sh b/modules/openstack_project/files/nodepool/scripts/prepare_tripleo.sh
index 275da6b217..333be8bbdf 100755
--- a/modules/openstack_project/files/nodepool/scripts/prepare_tripleo.sh
+++ b/modules/openstack_project/files/nodepool/scripts/prepare_tripleo.sh
@@ -29,7 +29,8 @@ sudo apt-get update
 sudo DEBIAN_FRONTEND=noninteractive apt-get \
   --option "Dpkg::Options::=--force-confold" \
   --assume-yes install build-essential python-dev python-pip \
-  linux-headers-virtual linux-headers-`uname -r`
+  linux-headers-virtual linux-headers-`uname -r` \
+  libffi-dev
 
 # toci scripts use both of these
 sudo pip install gear os-apply-config