There are two ways to include the service file. It can be hosted somewhere and then referenced via a cloud-config file.
#cloud-config
rancher:
services_include:
https://raw.githubusercontent.com/rancher/os-services/embedded-headers/k/kernel-headers.yml: true