Hi John-91, Thank you for reaching out to Microsoft Q & A forum. Can you able to try the steps provided by the @TP and I can be able to successfully edit and create-high-availability-vm-with-sets.sh using nano editor as instructed by @TP. Can you follow the steps as provided by TP:
- Please activate the sandbox, then follow the steps provided in the documentation.
- Once after done with Step-1, Before running the command in step 2, please enter the command below so that you can edit the script:
nano create-high-availability-vm-with-sets.sh
- Use your arrow keys to navigate down to the --image UbuntuLTS line and change it to --image Ubuntu2204.
- After you have made the change, press Ctrl-X, Y, then Enter to save and exit the editor.
For your reference I am sharing the screenshot below:
Please note that to ensure that the accurate "learn-xxxxxxxx-" resource group name is entered in the provided command. Although the command is designed to automatically update with the correct group name, you can navigate to the Azure portal and access the Resource groups section.
If you are still running into issues, kindly attach the screenshots for reference and please let us know in the comments. We are happy to assist you.
If the answer has been helpful in resolving the issue, please consider accepting the answer by clicking on the “Accept answer" button to help increase visibility of this question for other members of the Microsoft Q&A community.
Thank you.