%{ if os == "rhel" }
#cloud-config
rh_subscription:
  username: ${rhsm_username}
  password: '${rhsm_password}'
  auto-attach: false
%{ endif }
%{ if disable_auto_update }
{"ignition":{"version":"3.3.0"},"storage":{"files":[{"overwrite":true,"path":"/etc/flatcar/update.conf","contents":{"compression":"","source":"data:,SERVER%3Ddisabled%0A"},"mode":420}]}}
%{ endif }
