V2 cloud-init sysdeploy API with UUID

This commit is contained in:
Peter Šurda 2021-11-19 16:37:53 +08:00
parent a71be1a44e
commit f227080af7
Signed by: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

@ -212,7 +212,7 @@ echo ip-info ${ip-info}
sleep 1
boot boot-kernel initrd=initrd.cpio rootfstype=squashfs root=/squashfs ip=${ip-info} overlayroot=tmpfs:recurse=0 systemd.clock-usec=${unixtime:int32}000000 ds=nocloud-net;s=https://cloud-init.sysdeploy.org/ || goto error_handler
boot boot-kernel initrd=initrd.cpio rootfstype=squashfs root=/squashfs ip=${ip-info} overlayroot=tmpfs:recurse=0 systemd.clock-usec=${unixtime:int32}000000 ds=nocloud-net;s=https://cloud-init.sysdeploy.org/apiv2?uuid=${uuid}&filetype= || goto error_handler
# unixtime variable must be used with int32, because that's the only way it
# will display as decimal digits. unit32 and string both display as hex.