switch back to files argument
diff --git a/planetstack/openstack/driver.py b/planetstack/openstack/driver.py
index b8faf25..4130d00 100644
--- a/planetstack/openstack/driver.py
+++ b/planetstack/openstack/driver.py
@@ -417,12 +417,9 @@
if not security_group:
security_group = self.config.nova_default_security_group
- personality = []
+ files = {}
if pubkeys:
- personality.append({
- 'path': '/root/.ssh/authorized_keys',
- 'contents':"\n".join(pubkeys),
- })
+ files["/root/.ssh/authorized_keys"] = "\n".join(pubkeys).encode('base64')
hints = {}
availability_zone = None
if hostname:
@@ -433,7 +430,7 @@
flavor=flavor.id,
image=image_id,
security_group = security_group,
- personality = personality,
+ files = files,
scheduler_hints=hints,
availability_zone=availability_zone,
nics=nics,