azure-docs
azure-docs copied to clipboard
The content update handler tutorial is using the v1 update type vs v2 and an extra space in apt --update-type 'microsoft/a pt:1'
[Enter feedback here] The content update handler tutorial is using the v1 update type vs v2 and an extra space “--update-type 'microsoft/a pt:1'
In the Prerequisites area, shouldn't this command be changed to use the new v2 update type? If not, then at least the extra space should be removed from "a pt"
Current with extra space in apt:1
sudo /usr/bin/AducIotAgent --register-content-handler /var/lib/adu/extensions/sources/libmicrosoft_apt_1.so --update-type 'microsoft/a pt:1'
v2 handler is called out on this page : https://github.com/Azure/iot-hub-device-update/blob/main/src/extensions/step_handlers/swupdate_handler_v2/README.md#registering-swupdate-handler-extension
Should it be this?
sudo /usr/bin/AducIotAgent --register-content-handler /var/lib/adu/extensions/sources/libmicrosoft_apt_1.so --update-type 'microsoft/apt:2
?
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: fae57922-c3b2-5fb6-230a-9be79c40c774
- Version Independent ID: 5650812e-bdcf-8f72-dfec-36474795f474
- Content: Device Update for Azure IoT Hub tutorial using the Ubuntu Server 18.04 x64 package agent
- Content Source: articles/iot-hub-device-update/device-update-ubuntu-agent.md
- Service: iot-hub-device-update
- GitHub Login: @vimeht
- Microsoft Alias: vimeht
@SillyKeith Thanks for the feedback! We are currently investigating and will update you shortly.
@SillyKeith PR has been created to remove extra space in the command. Regarding using V2 handler, Since it requires validation and confirmation, Adding @vimeht for further review and update the doc if necessary.