Skip to content

Commit f5755e6

Browse files
committed
working ptl template
1 parent 48ba96c commit f5755e6

1 file changed

Lines changed: 13 additions & 5 deletions

File tree

image-templates/ubuntu24-x86_64-minimal-ptl.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,17 +74,20 @@ packageRepositories:
7474
- codename: "noble"
7575
url: "https://af01p-png.devtools.intel.com/artifactory/hspe-edge-png-local/ubuntu/noble/noble/20251029-0810_SW_A_REL6_RC02_plus"
7676
pkey: "https://af01p-png.devtools.intel.com/artifactory/hspe-edge-png-local/ubuntu/keys/adl-hirsute-public.gpg" # Uncomment and replace in real config
77+
insecureSkipVerifyPKey: true # Skip certificate verification for GPG key download (like wget --no-check-cert)
7778
component: "main non-free multimedia internal"
7879
priority: 1001 # Higher priority means preferred over other repos
7980

8081
- codename: "noble"
8182
url: "https://af01p-png.devtools.intel.com/artifactory/hspe-edge-repos-png-local-png-local/ubuntu-ppa2"
8283
pkey: "https://af01p-png.devtools.intel.com/artifactory/hspe-edge-repos-png-local-png-local/ubuntu-ppa2/pub.gpg" # Uncomment and replace in real config
84+
insecureSkipVerifyPKey: true # Skip certificate verification for GPG key download
8385
priority: 1001 # Higher priority means preferred over other repos
8486

8587
- codename: "noble"
8688
url: "https://ubit-artifactory-or.intel.com/artifactory/turtle-creek-debian-local"
8789
pkey: "[trusted=yes]" # Uncomment and replace in real config
90+
insecureSkipVerify: true
8891
component: "universe"
8992

9093
systemConfig:
@@ -334,10 +337,13 @@ systemConfig:
334337

335338
kernel:
336339
version: "6.14"
337-
cmdline: "console=ttyS0,115200 console=tty0 loglevel=7"
340+
# Use this cmdline and kernel if using xe driver,
341+
cmdline: "console=ttyS0,115200 console=tty0 loglevel=7 xe.max_vfs=7 xe.force_probe=* modprobe.blacklist=i915 udmabuf.list_limit=8192"
338342
packages:
339343
- linux-headers-6.17-intel_251118t134731z-r2
340344
- linux-image-6.17-intel_251118t134731z-r2
345+
# alternative cmdline in case of i915 usage, using a default kernel
346+
# cmdline: "console=ttyS0,115200 console=tty0 loglevel=7 i915.force_probe=* udmabuf.list_limit=8192"
341347

342348
users:
343349
- name: rbfadmin
@@ -370,8 +376,12 @@ systemConfig:
370376
- cmd: "chmod 600 ~sys_olvtelemetry/.ssh/authorized_keys"
371377
- cmd: "chown sys_olvtelemetry:sys_olvtelemetry -R ~sys_olvtelemetry/.ssh"
372378
# Configure GRUB settings
373-
- cmd: "sed -i 's/GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX=\"xe.max_vfs=7 xe.force_probe=* modprobe.blacklist=i915 udmabuf.list_limit=8192 console=tty0 console=ttyS0,115200n8\"/' /etc/default/grub"
374-
- cmd: "sed -i 's/GRUB_DEFAULT=.*/GRUB_DEFAULT=\"Advanced options for Ubuntu>Ubuntu, with Linux 6.17-intel\"/' /etc/default/grub"
379+
# - cmd: "sed -i 's/GRUB_CMDLINE_LINUX=\"\\(.*\\)\"/GRUB_CMDLINE_LINUX=\"\\1 udmabuf.list_limit=8192 console=tty0 console=ttyS0,115200n8\"/' /etc/default/grub"
380+
# - cmd: "sed -i 's/GRUB_CMDLINE_LINUX=\"\\(.*\\)\"/GRUB_CMDLINE_LINUX=\"\\1 xe.max_vfs=7 xe.force_probe=* modprobe.blacklist=i915 udmabuf.list_limit=8192 console=tty0 console=ttyS0,115200n8\"/' /etc/default/grub"
381+
# - cmd: "sed -i 's/GRUB_DEFAULT=\"\\(.*\\)\"/GRUB_DEFAULT=\"\\1Advanced options for Ubuntu>Ubuntu, with Linux 6.17-intel\"/' /etc/default/grub"
382+
# Configure GRUB timeout
383+
- cmd: "sed -e 's@^GRUB_TIMEOUT_STYLE=hidden@# GRUB_TIMEOUT_STYLE=hidden@' -e 's@^GRUB_TIMEOUT=0@GRUB_TIMEOUT=5@g' -i /etc/default/grub"
384+
- cmd: "update-grub"
375385
# Install NPU driver
376386
- cmd: "mkdir -m 755 -pv /opt/vpu"
377387
- cmd: "curl -s https://af01p-ir.devtools.intel.com/artifactory/drivers_vpu_linux_client-ir-local/engineering-drops/driver/main/release/25ww49.1.1/npu-linux-driver-ci-1.30.0.20251128-19767695845-ubuntu2404-release.tar.gz | tar -zxv --strip-components=1 -C /opt/vpu -f -"
@@ -384,8 +394,6 @@ systemConfig:
384394
- cmd: "wget https://af01p-png.devtools.intel.com/artifactory/hspe-edge-png-local/ubuntu-mtl-audio-tplg-6/c0/intel/sof-ace-tplg/sof-hda-generic.tplg -O /lib/firmware/intel/sof-ace-tplg/sof-hda-generic.tplg"
385395
- cmd: "wget https://af01p-png.devtools.intel.com/artifactory/hspe-edge-png-local/ubuntu-mtl-audio-tplg-6/c0/intel/sof-ace-tplg/sof-mtl-es83x6-ssp1-hdmi-ssp02.tplg -O /lib/firmware/intel/sof-ace-tplg/sof-mtl-es83x6-ssp1-hdmi-ssp02.tplg"
386396
- cmd: "wget https://af01p-png.devtools.intel.com/artifactory/hspe-edge-png-local/ubuntu-mtl-audio-tplg-6/c0/intel/sof-ace-tplg/sof-mtl-hdmi-ssp02.tplg -O /lib/firmware/intel/sof-ace-tplg/sof-mtl-hdmi-ssp02.tplg"
387-
# Configure GRUB timeout
388-
- cmd: "sed -e 's@^GRUB_TIMEOUT_STYLE=hidden@# GRUB_TIMEOUT_STYLE=hidden@' -e 's@^GRUB_TIMEOUT=0@GRUB_TIMEOUT=5@g' -i /etc/default/grub"
389397
# Configure Wayland
390398
- cmd: "sed -i 's/#WaylandEnable=/WaylandEnable=/g' /etc/gdm3/custom.conf"
391399
# Disable auto-updates

0 commit comments

Comments
 (0)