Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Having an issue with the 'Create an Azure Virtual Machine' exercise #18

Open
rusirrius opened this issue Sep 1, 2023 · 0 comments
Open

Comments

@rusirrius
Copy link

Apologies if I'm posting this incorrectly, but I'm having an issue completing a particular exercise on the learning path.

I've created a Linux VM as specified on Unit 4 in the 'Describe Azure compute and networking sections' area.

However, when I go to configure Nginx, there seems to be some sort of error in the configuration.

This is what I am asked to copy into the console once I have created the VM:
az vm extension set
--resource-group learn-f188aab2-964a-4afb-8ae8-9487162b6c91
--vm-name my-vm
--name customScript
--publisher Microsoft.Azure.Extensions
--version 2.1
--settings '{"fileUris":["https://raw.githubusercontent.com/MicrosoftDocs/mslearn-welcome-to-azure/master/configure-nginx.sh"]}'
--protected-settings '{"commandToExecute": "./configure-nginx.sh"}'

I have attached a file showing the errors that then appear.

This is a frustrating issue, especially as I appear to need Nginx for the future exercises.

Any guidance is greatly appreciated.

Nginx issue.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant