Skip to content

Feature: ali ​

Description ​

A platform feature that builds a Garden Linux image for Alibaba Cloud (Aliyun). Artifacts are delivered as .raw and .qcow2 files.

What it does ​

Installs cloud-init for instance initialization on Alibaba Cloud and configures platform-specific settings:

  • DNS resolver: configures systemd-resolved with Alibaba Cloud DNS settings.
  • Time synchronization: configures systemd-timesyncd with the Alibaba Cloud NTP endpoint.
  • Cloud-init: provides a Debian-compatible cloud-init baseline and disables cloud-init network management (networking handled by systemd).
  • Kernel command line: sets the console parameter for the Alibaba Cloud serial console.
  • Image conversion: convert.qcow2 produces a .qcow2 image from the raw build artifact.

Files ​

Files present in this feature and their purpose. See the feature file reference for the semantics of each file type.

FilePurpose
convert.qcow2 (ref)Converts the .raw artifact to a .qcow2 image for Alibaba Cloud import.
exec.config (ref)Applies Alibaba Cloud-specific cloud-init and system configuration.
file.include.markers.yaml (ref)Maps files to test-coverage marker IDs.
info.yaml (ref)Declares type: platform and included/excluded features.
pkg.include (ref)Installs cloud-init, dmidecode, and python3-cffi-backend.
file.include/etc/cloud/cloud.cfg.d/01_debian-cloud.cfg (file.include)Debian-specific cloud-init configuration baseline.
file.include/etc/cloud/cloud.cfg.d/99_disable-network-config.cfg (file.include)Disables cloud-init network configuration management.
file.include/etc/kernel/cmdline.d/10-console.cfg (file.include)Sets the kernel console parameter for the Alibaba Cloud serial console.
file.include/etc/systemd/resolved.conf.d/00-gardenlinux-ali.conf (file.include)Configures systemd-resolved with Alibaba Cloud DNS settings.
file.include/etc/systemd/timesyncd.conf.d/00-gardenlinux-ali.conf (file.include)Configures systemd-timesyncd to use the Alibaba Cloud NTP endpoint.

Includes:

  • cloud — provides common cloud-init integration and base cloud configuration shared across cloud platforms.

Further reading ​