-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathazl3-x86_64-edge-raw.yml
More file actions
99 lines (85 loc) · 3.21 KB
/
azl3-x86_64-edge-raw.yml
File metadata and controls
99 lines (85 loc) · 3.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# AI-searchable metadata for template discovery
metadata:
description: "Azure Linux 3 edge-optimized raw disk image with container runtime and Azure IoT edge packages"
use_cases:
- "Azure IoT Edge"
- "edge computing"
- "container workloads"
- "cloud-connected edge"
keywords:
- edge
- container
- docker
- azure
- azl3
- iot
- cloud
image:
name: azl3-x86_64-edge
version: "1.0.0"
target:
os: azure-linux # Target OS name
dist: azl3 # Target OS distribution
arch: x86_64 # Target OS architecture
imageType: raw # Image type, valid value: [raw, iso].
# Disk configuration can be omitted to use defaults from default template
# If specified, it will override the default disk configuration completely
# Additional package repositories for this image
# Sample list of additional package repositories; replace codename, url, and pkey values as needed
packageRepositories:
- codename: "company-internal"
url: "<URL>"
pkey: "<PUBLIC_KEY_URL>" # Uncomment and replace in real config
component: "main"
- codename: "dev-tools"
url: "<URL>"
pkey: "<PUBLIC_KEY_URL>" # Uncomment and replace in real config
- codename: "intel-openvino"
url: "<URL>"
pkey: "<PUBLIC_KEY_URL>" # Uncomment and replace in real config
component: "restricted"
# System configuration
systemConfig:
name: edge
description: Default yml configuration for edge image
immutability:
enabled: true
# To enable Secure Boot, provide the actual file paths for your environment below and uncomment the relevant lines.
# secureBootDBKey: "<SECURE_BOOT_DB_KEY_PATH>"
# secureBootDBCrt: "<SECURE_BOOT_DB_CRT_PATH>"
# secureBootDBCer: "<SECURE_BOOT_DB_CER_PATH>"
# User Configuration
users:
# Example: Pre-hashed password (production approach)
- name: admin
password: "" # leave empty in sample
# password: "<HASHED_PASSWORD>" # Uncomment and replace in real config
groups: ["<REQUIRED_GROUP>"] # e.g., "wheel" for admin, "users" for non-admin
# Example: Plain text with algorithm (development/testing only)
- name: testuser
password: "" # Do not commit real plaintext passwords
# password: "<PLAIN_PASSWORD>"
hash_algo: "sha512" # or org-approved algorithm
# Example: Plain text with different algorithm (development/testing only)
- name: secureuser
password: "" # Do not commit real plaintext passwords
# password: "<PLAIN_PASSWORD>"
hash_algo: "bcrypt" # specify cost in production if supported
# sudo: true # Uncomment to grant admin rights
# Package Configuration
packages:
# Additional packages beyond the base system
- cloud-init
- rsyslog
# Kernel Configuration
kernel:
version: "6.12"
cmdline: "console=ttyS0,115200 console=tty0 loglevel=7"
#packages:
# - kernel-azure
# - kernel-modules-azure
# Everything else uses defaults from the default template:
# Network: Uses DHCP on first interface
# Security: Enables distro-appropriate security (SELinux for AzureLinux)
# Services: Enables SSH, disables unnecessary services
# Users: Creates default admin user with sudo access