Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions tests/images/azl-installer/installer-iso.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ os:
- source: mos/scripts/installation.sh
destination: /root/installer/installation.sh

# Enable telemetry (Application Insights tracing) by default for test/dev images
- content: |
Telemetry=OptIn
destination: /etc/trident/trident.conf
iso:
initramfsType: full-os

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,9 @@ os:
services:
enable:
- sshd

additionalFiles:
# Enable telemetry (Application Insights tracing) by default for test/dev images
- content: |
Telemetry=OptIn
destination: /etc/trident/trident.conf
4 changes: 4 additions & 0 deletions tests/images/trident-container-installer/base/baseimg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ os:
- source: files/containerd-mmap-fix.cil
destination: /usr/share/selinux/packages/containerd-mmap-fix.cil

# Enable telemetry (Application Insights tracing) by default for test/dev images
- content: |
Telemetry=OptIn
destination: /etc/trident/trident.conf
services:
enable:
- trident-container
Expand Down
4 changes: 4 additions & 0 deletions tests/images/trident-container-testimage/base/baseimg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ os:
- source: files/containerd-mmap-fix.cil
destination: /usr/share/selinux/packages/containerd-mmap-fix.cil

# Enable telemetry (Application Insights tracing) by default for test/dev images
- content: |
Telemetry=OptIn
destination: /etc/trident/trident.conf
services:
enable:
- trident-container
Expand Down
6 changes: 6 additions & 0 deletions tests/images/trident-functest/base/baseimg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,9 @@ os:
services:
enable:
- sshd

additionalFiles:
# Enable telemetry (Application Insights tracing) by default for test/dev images
- content: |
Telemetry=OptIn
destination: /etc/trident/trident.conf
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ os:
- source: ../../../../tools/cmd/rcp-agent/rcp-agent.service
destination: /usr/lib/systemd/system/rcp-agent.service

# Enable telemetry (Application Insights tracing) by default for test/dev images
- content: |
Telemetry=OptIn
destination: /etc/trident/trident.conf
selinux:
mode: enforcing

Expand Down
4 changes: 4 additions & 0 deletions tests/images/trident-installer/base/baseimg-split.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ os:
- source: files/trident-split-install.service
destination: /usr/lib/systemd/system/trident-install.service

# Enable telemetry (Application Insights tracing) by default for test/dev images
- content: |
Telemetry=OptIn
destination: /etc/trident/trident.conf
scripts:
postCustomization:
- path: post-install.sh
Expand Down
4 changes: 4 additions & 0 deletions tests/images/trident-installer/base/baseimg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ os:
- source: files/trident-install.service
destination: /usr/lib/systemd/system/trident-install.service

# Enable telemetry (Application Insights tracing) by default for test/dev images
- content: |
Telemetry=OptIn
destination: /etc/trident/trident.conf
selinux:
mode: enforcing

Expand Down
4 changes: 4 additions & 0 deletions tests/images/trident-mos/containerhost-iso.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ os:
- source: files/download-trident-container.service
destination: /usr/lib/systemd/system/download-trident-container.service

# Enable telemetry (Application Insights tracing) by default for test/dev images
- content: |
Telemetry=OptIn
destination: /etc/trident/trident.conf
services:
enable:
- download-trident-container
Expand Down
4 changes: 4 additions & 0 deletions tests/images/trident-mos/iso.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ os:
- source: ../../../tools/cmd/rcp-agent/rcp-agent.service
destination: /usr/lib/systemd/system/rcp-agent.service

# Enable telemetry (Application Insights tracing) by default for test/dev images
- content: |
Telemetry=OptIn
destination: /etc/trident/trident.conf
services:
enable:
- rcp-agent
Expand Down
4 changes: 4 additions & 0 deletions tests/images/trident-testimage/base/baseimg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ os:
- source: files/use-grpc-client-commit.conf
destination: /etc/systemd/system/trident.service.d/override.conf

# Enable telemetry (Application Insights tracing) by default for test/dev images
- content: |
Telemetry=OptIn
destination: /etc/trident/trident.conf
scripts:
postCustomization:
- path: post-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,10 @@ os:
- source: files/trident-container.service
destination: /usr/lib/systemd/system/trident-container.service

# Enable telemetry (Application Insights tracing) by default for test/dev images
- content: |
Telemetry=OptIn
destination: /etc/trident/trident.conf
services:
enable:
- etc-mount
Expand Down
4 changes: 4 additions & 0 deletions tests/images/trident-verity-testimage/base/baseimg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,10 @@ os:
- source: files/use-grpc-client-commit.conf
destination: /etc/systemd/system/trident.service.d/override.conf

# Enable telemetry (Application Insights tracing) by default for test/dev images
- content: |
Telemetry=OptIn
destination: /etc/trident/trident.conf
services:
enable:
- etc-mount
Expand Down
4 changes: 4 additions & 0 deletions tests/images/trident-verity-testimage/usr/container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@ os:
- source: files/trident-container.service
destination: /usr/lib/systemd/system/trident-container.service

# Enable telemetry (Application Insights tracing) by default for test/dev images
- content: |
Telemetry=OptIn
destination: /etc/trident/trident.conf
output:
# Specifies config for output dir containining generated artifacts. This is
# required for later running inject-files command, so that the final image
Expand Down
4 changes: 4 additions & 0 deletions tests/images/trident-verity-testimage/usr/host.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ os:
- source: files/use-grpc-client-commit.conf
destination: /etc/systemd/system/trident.service.d/override.conf

# Enable telemetry (Application Insights tracing) by default for test/dev images
- content: |
Telemetry=OptIn
destination: /etc/trident/trident.conf
output:
# Specifies config for output dir containining generated artifacts. This is
# required for later running inject-files command, so that the final image
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,10 @@ os:
- source: files/sudoers-wheel
destination: /etc/sudoers.d/wheel

# Enable telemetry (Application Insights tracing) by default for test/dev images
- content: |
Telemetry=OptIn
destination: /etc/trident/trident.conf
services:
enable:
- etc-mount
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@ os:
- source: files/sudoers-wheel
destination: /etc/sudoers.d/wheel

# Enable telemetry (Application Insights tracing) by default for test/dev images
- content: |
Telemetry=OptIn
destination: /etc/trident/trident.conf
services:
enable:
- etc-mount
Expand Down
4 changes: 4 additions & 0 deletions tests/images/trident-vm-testimage/base/baseimg-grub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ os:
- source: files/sudoers-wheel
destination: /etc/sudoers.d/wheel

# Enable telemetry (Application Insights tracing) by default for test/dev images
- content: |
Telemetry=OptIn
destination: /etc/trident/trident.conf
users:
- name: testuser
sshPublicKeyPaths:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,10 @@ os:
- source: files/sudoers-wheel
destination: /etc/sudoers.d/wheel

# Enable telemetry (Application Insights tracing) by default for test/dev images
- content: |
Telemetry=OptIn
destination: /etc/trident/trident.conf
overlays:
- mountPoint: /etc
lowerDirs: [/etc]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,10 @@ os:
- source: files/sudoers-wheel
destination: /etc/sudoers.d/wheel

# Enable telemetry (Application Insights tracing) by default for test/dev images
- content: |
Telemetry=OptIn
destination: /etc/trident/trident.conf
services:
enable:
- kdump
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@ os:
- source: files/use-grpc-client-commit.conf
destination: /etc/systemd/system/trident.service.d/override.conf

# Enable telemetry (Application Insights tracing) by default for test/dev images
- content: |
Telemetry=OptIn
destination: /etc/trident/trident.conf
services:
enable:
- etc-mount
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@ os:
- source: files/use-grpc-client-commit.conf
destination: /etc/systemd/system/trident.service.d/override.conf

# Enable telemetry (Application Insights tracing) by default for test/dev images
- content: |
Telemetry=OptIn
destination: /etc/trident/trident.conf
services:
enable:
- etc-mount
Expand Down
4 changes: 4 additions & 0 deletions tests/images/trident-vm-testimage/base/updateimg-grub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ os:
- source: files/use-grpc-client-commit.conf
destination: /etc/systemd/system/trident.service.d/override.conf

# Enable telemetry (Application Insights tracing) by default for test/dev images
- content: |
Telemetry=OptIn
destination: /etc/trident/trident.conf
scripts:
postCustomization:
- path: scripts/post-install.sh
Expand Down