Initial vmtool/ovhtool commit

This commit is contained in:
2016-05-31 00:08:37 +02:00
commit 9d721349c4
10 changed files with 434 additions and 0 deletions

8
templates/user-data Normal file
View File

@@ -0,0 +1,8 @@
#cloud-config
chpasswd:
list: |
{{ instance.user }}:{{ instance.password }}
expire: False
bootcmd:
- [ cloud-init-per, once, sshenable, sed, -i, 's/PasswordAuthentication no/PasswordAuthentication yes/g', /etc/ssh/sshd_config ]