Use at your own risk!
Minimal provisioning agent for Azure VMs. This thing only reports "ready" to Azure. It does not perform any provisioning tasks. This is useful if you are already deploying a fully provisioned image to Azure.
After network is ready (i.e. eth0 has a DHCP lease), start this program. It will tell Azure that the VM is ready and immediately exit.
Only run one of waagent, cloud-init, or tiny-azagent. Running multiple provisioning agents causes explosions.
A sample systemd unit is kind of in nix/nixos-module.nix
.
This is unsupported by Microsoft. You should probably use waagent or cloud-init instead.
Using the server at http://168.63.129.16:
GET /machine?comp=goalstate
)POST /machine?comp=health
)As explained in the Azure VM docs.
Since this agent does so little, to have a functioning VM you must perform at least these tasks:
cat /sys/firmware/acpi/tables/OEM0 > /dev/random
). Not doing this results in an extremely insecure system.ATTRS{device_id}=="?00000000-0001-*"
A VM configuration demonstrating this is in nix/test-vm.nix
.