Created
February 6, 2023 19:50
-
-
Save lukasz-zaroda/56389fb5053205a82f5571ea3b691ec9 to your computer and use it in GitHub Desktop.
almalinux/9/cloud lxd configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config: | |
core.https_address: '[::]:8443' | |
core.trust_password: true | |
networks: | |
- config: | |
ipv4.address: 10.231.39.1/24 | |
ipv4.firewall: "false" | |
ipv4.nat: "true" | |
ipv6.address: fd42:35d1:f6a9:f3e7::1/64 | |
ipv6.firewall: "false" | |
ipv6.nat: "true" | |
description: "" | |
name: lxdbr0 | |
type: bridge | |
project: default | |
storage_pools: | |
- config: | |
source: /var/lxd | |
description: "" | |
name: default | |
driver: dir | |
profiles: | |
- config: | |
user.network-config: | | |
#cloud-config | |
version: 2 | |
ethernets: | |
eth0: | |
dhcp4: false | |
dhcp6: false | |
user.user-data: | | |
#cloud-config | |
users: | |
- name: luken | |
gecos: '' | |
primary_group: luken | |
groups: "sudo" | |
shell: /bin/bash | |
sudo: ALL=(ALL) NOPASSWD:ALL | |
ssh_authorized_keys: | |
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDxbJloAw7zOCoGgZ5dcunGwxKSNTJW8xjExbmgeBFRQvHvnuhR4GjZUcCPfqb0r3popg66b+f6pHMa7FGejZsTmZaVCrZL6P0BqvojXEfMYcTIjRNG4TF2VJ6WBnvkMb0iLH9W9sADeBi9I2 | |
0igP1ds/SQ0ytITl9B0OQbG8RXE6F5mU1yitF11urKIn2gzvbRxfesqOSgQOPjM45Ykh1Wuc98Xg49xzVVpMi2Y+fOuoKEg7owl7t36gn0IuA1WFabyJlShbmefeXPdT1xTgEPVhR9T7kmqlAr8b2XsFz5SiH3q2x+me7FxKAPqJnazH7U7NtiSlym5Xpj5Z6tv | |
9/Yr592kyiKy+hRVg7tA/q79etHQSMmSsj4q3Mx+VzUu7xlWVTYl2AvWyBXW8kTLenCy5D2Rq/NFWS0Fc2Mbs0eLwD1GYO3VkeKsrL57VSE2nt6VX2hrMNoMew2rUSA8h/CKenN+U0KMWk2rnVs4Eua8tFKYfBl0at5SHPqn5USs99kp1IQUKbeAvpCba9x23GP | |
zA7p3lVS/9bjxq0djhPnklhKf75woayYEmCh4do6TRmMVfSaANT4AI/IuoxGGJbQRbEWtaBdpaAsjRLal9ib+rq3GC1xi4QShoVlWWvLKx+++E/WnbKFq6oCUF/k9YQL+dgfGao6Nh+39YiJ/lOf4Q== (none) | |
description: "" | |
devices: | |
root: | |
path: / | |
pool: default | |
type: disk | |
name: default | |
- config: | |
limits.cpu: "1" | |
limits.memory: 2GB | |
user.network-config: | | |
version: 2 | |
ethernets: | |
eth0: | |
dhcp4: no | |
dhcp6: no | |
gateway4: 188.[redacted] | |
addresses: | |
- 188.[redacted]/32 | |
nameservers: | |
addresses: | |
- 8.8.8.8 | |
- 8.8.4.4 | |
search: [] | |
routes: | |
- to: 0.0.0.0/0 | |
via: 169.254.0.1 | |
on-link: true | |
user.user-data: | | |
#cloud-config | |
users: | |
- name: luken | |
gecos: '' | |
primary_group: luken | |
groups: "sudo" | |
shell: /bin/bash | |
sudo: ALL=(ALL) NOPASSWD:ALL | |
package_update: true | |
package_upgrade: true | |
packages: | |
- openssh-server | |
description: [redacted] | |
devices: | |
eth0: | |
ipv4.address: 188.[redacted] | |
nictype: routed | |
parent: enp1s0f0 | |
type: nic | |
name: [redacted] | |
projects: | |
- config: | |
features.images: "true" | |
features.networks: "true" | |
features.networks.zones: "true" | |
features.profiles: "true" | |
features.storage.buckets: "true" | |
features.storage.volumes: "true" | |
description: Default LXD project | |
name: default |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment