Skip to content

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

@rusirrius

Description

@rusirrius

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions