summaryrefslogtreecommitdiff
path: root/cloud_init.cfg
diff options
context:
space:
mode:
authorjerome <jerome@xlinfo.fr>2025-02-04 15:02:50 +0100
committerjerome <jerome@xlinfo.fr>2025-02-04 15:02:50 +0100
commit2a485c2921146c76023e8dabbaa6d4bedee1aa7b (patch)
tree926f6f658ddfcc3dec44702c76b70cc4dcd08ffd /cloud_init.cfg
parent3b3f35127f2cfa7e08d943a0555c095ad553021f (diff)
downloadkvm-2a485c2921146c76023e8dabbaa6d4bedee1aa7b.tar.gz
kvm-2a485c2921146c76023e8dabbaa6d4bedee1aa7b.zip
resize bse image
Diffstat (limited to 'cloud_init.cfg')
-rw-r--r--cloud_init.cfg8
1 files changed, 4 insertions, 4 deletions
diff --git a/cloud_init.cfg b/cloud_init.cfg
index 1bd0db6..39dd4f6 100644
--- a/cloud_init.cfg
+++ b/cloud_init.cfg
@@ -4,7 +4,7 @@ manage_etc_hosts: true
fqdn: ${nom}
users:
- - name: jerome
+ - name: ansible
lock_passwd: false
passwd: $6$HiJy.FDst/oZW34k$yY/T.VDsZJgI7o7kvbpRbLe7JLfyxAso6KPTb6TbqdHKCNE5fVq2.eJWxCP9QfsI/7rpluw9HKy7LHVSfLPdC0
ssh_authorized_keys:
@@ -14,12 +14,12 @@ users:
runcmd:
- - cp /etc/skel/.* /home/jerome/
- - chown jerome:jerome /home/jerome/.*
+ - cp /etc/skel/.* /home/ansible/
+ - chown ansible:ansible /home/ansible/.*
- ${package}
write_files:
- - path: /home/jerome/helloworld
+ - path: /home/ansible/helloworld
content: |
#!/bin/bash
echo "Hello World !"