26 lines
1.9 KiB
JSON
26 lines
1.9 KiB
JSON
{
|
|
"ansible_extra_vars": "guestinfo_datasource_slug={{user `guestinfo_datasource_slug`}} guestinfo_datasource_ref={{user `guestinfo_datasource_ref`}} guestinfo_datasource_script={{user `guestinfo_datasource_script`}} ansible_python_interpreter=/opt/bin/python",
|
|
"boot_command_prefix": "sudo systemctl mask sshd.socket --now<enter>curl -sLo /tmp/ignition.json https://raw.githubusercontent.com/kubernetes-sigs/image-builder/0bb5cd6db390516c75daeeaf27f19b1aa958428b/images/capi/packer/files/flatcar/ignition/bootstrap.json<enter>sed -i \"s|BUILDERPASSWORDHASH|$(mkpasswd -5 {{user `ssh_password`}})|\" /tmp/ignition.json<enter>sudo flatcar-install -d /dev/sda -o vmware_raw -C {{user `channel_name`}} -V {{user `release_version`}} -i /tmp/ignition.json<enter>sudo reboot<enter>",
|
|
"boot_wait": "60s",
|
|
"build_name": "flatcar-{{env `FLATCAR_CHANNEL`}}-{{env `FLATCAR_VERSION`}}",
|
|
"channel_name": "{{env `FLATCAR_CHANNEL`}}",
|
|
"containerd_cri_socket": "/run/docker/libcontainerd/docker-containerd.sock",
|
|
"crictl_source_type": "http",
|
|
"distro_name": "flatcar",
|
|
"guest_os_type": "flatcar-64",
|
|
"http_directory": "",
|
|
"iso_checksum": "https://{{env `FLATCAR_CHANNEL`}}.release.flatcar-linux.net/amd64-usr/{{env `FLATCAR_VERSION`}}/flatcar_production_iso_image.iso.DIGESTS.asc",
|
|
"iso_checksum_type": "file",
|
|
"iso_url": "https://{{env `FLATCAR_CHANNEL`}}.release.flatcar-linux.net/amd64-usr/{{env `FLATCAR_VERSION`}}/flatcar_production_iso_image.iso",
|
|
"kubernetes_cni_source_type": "http",
|
|
"kubernetes_source_type": "http",
|
|
"os_display_name": "Flatcar Container Linux ({{env `FLATCAR_CHANNEL`}} channel release {{env `FLATCAR_VERSION`}})",
|
|
"python_path": "/opt/bin/builder-env/site-packages",
|
|
"release_version": "{{env `FLATCAR_VERSION`}}",
|
|
"shutdown_command": "shutdown -P now",
|
|
"systemd_prefix": "/etc/systemd",
|
|
"sysusr_prefix": "/opt",
|
|
"sysusrlocal_prefix": "/opt",
|
|
"vsphere_guest_os_type": "other3xLinux64Guest"
|
|
}
|