FR for variable substitution in nocloud-net urls (eg system serial number)

Bug #1994980 reported by Jamie Murphy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init
Fix Released
Wishlist
Unassigned

Bug Description

It would be really useful if there was variable substitution in nocloud-net ds config.

I think an example would explain this best.

ds=nocloud-net;s=http://10.10.0.1:8000/$sysserial/

So in the above it would be great if cloud-init converted $sysserial into the systems serial. thus polling the http datasource server for a specific config for that system by serial number.

James Falcon (falcojr)
Changed in cloud-init:
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
Chad Smith (chad.smith) wrote (last edit ):

Upstream PR related to this feature request https://github.com/canonical/cloud-init/pull/1808. I'm excited to get this into cloud-init as well to improve some of the live installer deploy at scale efforts. Thanks for the bug and upstream PR proposal.

Revision history for this message
shixuantong (sxt1001) wrote :

Upstream PR related to this feature:
https://github.com/canonical/cloud-init/pull/1879

Revision history for this message
Alberto Contreras (aciba) wrote : Fixed in cloud-init version 23.1.

This bug is believed to be fixed in cloud-init in version 23.1. If this is still a problem for you, please make a comment and set the state back to New

Thank you.

Changed in cloud-init:
status: Triaged → Fix Released
Revision history for this message
James Falcon (falcojr) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.