seanrmurphy / nixinit

MIT License
1 stars 0 forks source link

add support for obtaining instance id on aws #7

Open seanrmurphy opened 2 months ago

seanrmurphy commented 2 months ago

Currently, the instance id can only be detected when the system is run with libvirt; the detection is done using a cidata volume.

Some (untested) code is included which should detect if the instance is run on a cloud platform but it does not contain logic to obtain the instance ID in this case. This issue focuses on adding logic to obtain the instance ID when the instance is run on AWS.