Extracted the logic to setup the ironic-python-agent-builder to a separate function that is called before building ithe ramdisk, this is to avoid errors when deploying locally see [1] [1] http://paste.openstack.org/show/783890/ Change-Id: I8ce4ac2f1b59fc682feea3a183c7d0e3d075f30d