create a full file

Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
GnomeZworc 2025-04-27 22:54:44 +02:00
commit 0a4ed4a156
Signed by: nicolas.boufideline
GPG key ID: 4406BBBF8845D632
9 changed files with 56 additions and 0 deletions

2
base_data/seed/meta-data Normal file
View file

@ -0,0 +1,2 @@
instance-id: iid-local03
local-hostname: my-vm-03

View file

@ -0,0 +1,14 @@
version: 2
renderer: networkd
ethernets:
eth0:
dhcp4: false
addresses:
- 240.0.1.3/4
routes:
- to: 0.0.0.0/0
via: 240.0.0.1
nameservers:
addresses:
- 8.8.8.8
- 1.1.1.1

10
base_data/seed/user-data Normal file
View file

@ -0,0 +1,10 @@
#cloud-config
users:
- name: nicolas
lock_passwd: false
passwd: "$5$K4nmmwy8HXUZvUbL$8987jEXLGdXyXhF5WPbscg5PjCXqN3jOo6lcjWXg5IC"
doas: [permit nopass nicolas]
ssh_authorized_keys:
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDNxP6+vpKgqLfQ4aA90MezAkqgBtwXYWnhNQznXH6bU root@lab3
ssh_authorized_keys:
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDNxP6+vpKgqLfQ4aA90MezAkqgBtwXYWnhNQznXH6bU root@lab3