Re-aligned the base for libvirt.
This commit is contained in:
parent
69ca9a8f6a
commit
888e1247ab
9 changed files with 67 additions and 47 deletions
|
@ -1,2 +0,0 @@
|
|||
instance-id: debian11
|
||||
local-hostname: debian11
|
2
libvirt-python/cloud-init/meta-data.jinja
Normal file
2
libvirt-python/cloud-init/meta-data.jinja
Normal file
|
@ -0,0 +1,2 @@
|
|||
instance-id: {{ name }}
|
||||
local-hostname: {{ name }}
|
|
@ -1,24 +0,0 @@
|
|||
#cloud-config
|
||||
resize_rootfs: true
|
||||
users:
|
||||
- name: syntaxerrormmm
|
||||
sudo: ALL=(ALL) NOPASSWD:ALL
|
||||
groups: users, admin
|
||||
shell: /bin/bash
|
||||
ssh_authorized_keys:
|
||||
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFioHkaV1NhX6NCqsJakJw8EVBOcDHm1MEbpY499CPtG syntaxerrormmm@fisso
|
||||
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILu91hBh8pNRt4eE1pug0Y4jCHZDCcMJ+vj3CiF5EQHV syntaxerrormmm@syntaxxps
|
||||
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIP/hn/0xn6DRS2B0paFzDQRakupgTQQ5hitQhqOfWcqz syntaxerrormmm@microbo
|
||||
hashed_passwd: $6$rounds=4096$4ZUeoch.EwyR/TLb$.71i1otUQpw2eMlrjcP3H4XxsnLlVbIQxagFDGviOvCaIz7ONa.tTZPO09YL7hiAh4vLaTcGD43VoAM6tEYjx/
|
||||
ssh_pwauth: true
|
||||
disable_root: false
|
||||
chpasswd:
|
||||
expire: false
|
||||
list: |
|
||||
root:$6$rounds=4096$4ZUeoch.EwyR/TLb$.71i1otUQpw2eMlrjcP3H4XxsnLlVbIQxagFDGviOvCaIz7ONa.tTZPO09YL7hiAh4vLaTcGD43VoAM6tEYjx/
|
||||
syntaxerrormmm:$6$rounds=4096$4ZUeoch.EwyR/TLb$.71i1otUQpw2eMlrjcP3H4XxsnLlVbIQxagFDGviOvCaIz7ONa.tTZPO09YL7hiAh4vLaTcGD43VoAM6tEYjx/
|
||||
#packages:
|
||||
# - qemu-guest-agent
|
||||
#power_state:
|
||||
# delay: now
|
||||
# mode: reboot
|
24
libvirt-python/cloud-init/user-data.jinja
Normal file
24
libvirt-python/cloud-init/user-data.jinja
Normal file
|
@ -0,0 +1,24 @@
|
|||
#cloud-config
|
||||
resize_rootfs: true
|
||||
users:
|
||||
- name: {{ username }}
|
||||
sudo: ALL=(ALL) NOPASSWD:ALL
|
||||
groups: users, admin
|
||||
shell: /bin/bash
|
||||
ssh_authorized_keys:
|
||||
{% for key in sshkeys %}
|
||||
- "{{ key }}"
|
||||
{% endfor %}
|
||||
hashed_passwd: {{ password }}
|
||||
ssh_pwauth: true
|
||||
disable_root: false
|
||||
chpasswd:
|
||||
expire: false
|
||||
list: |
|
||||
root:{{ password }}
|
||||
syntaxerrormmm:{{ password }}
|
||||
#packages:
|
||||
# - qemu-guest-agent
|
||||
#power_state:
|
||||
# delay: now
|
||||
# mode: reboot
|
Loading…
Add table
Add a link
Reference in a new issue