summaryrefslogtreecommitdiffstats
path: root/playbooks/libvirt/templates/user-data
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/libvirt/templates/user-data')
-rw-r--r--playbooks/libvirt/templates/user-data10
1 files changed, 10 insertions, 0 deletions
diff --git a/playbooks/libvirt/templates/user-data b/playbooks/libvirt/templates/user-data
new file mode 100644
index 000000000..985badc8e
--- /dev/null
+++ b/playbooks/libvirt/templates/user-data
@@ -0,0 +1,10 @@
+#cloud-config
+
+disable_root: 0
+
+system_info:
+ default_user:
+ name: root
+
+ssh_authorized_keys:
+ - {{ lookup('file', '~/.ssh/id_rsa.pub') }}