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

A few warnings and one error after running the chapter 5 build out. #3

Open
micedwards opened this issue May 1, 2023 · 0 comments
Open

Comments

@micedwards
Copy link

A few warnings and one error after running the chapter 5 build out. First time I've used playground so may be something I did?

'PS /home/cloud>
PS /home/cloud> curl https://raw.githubusercontent.com/linuxacademy/content-az700-Microsoft-Azure-Network-Engineer-Associate/main/05-Design-and-Implement-Cross-VNet-Connectivity/05-01-peering-demo-buildout.ps1 -o setup.ps1
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2910 100 2910 0 0 86712 0 --:--:-- --:--:-- --:--:-- 88181
PS /home/cloud> . ./setup.ps1
{
[removed]
}
SSH key files '/home/cloud/.ssh/id_rsa' and '/home/cloud/.ssh/id_rsa.pub' have been generated under ~/.ssh to allow SSH access to the VM. If using machines without permanent storage, back up your keys to a safe location.
Ignite (November) 2023 onwards "az vm/vmss create" command will deploy Gen2-Trusted Launch VM by default. To know more about the default change and Trusted Launch, please visit https://aka.ms/TLaD
Consider using the "Ubuntu2204" alias. On April 30, 2023,the image deployed by the "UbuntuLTS" alias reaches its end of life. The "UbuntuLTS" will be removed with the breaking change release of Fall 2023.
Ignite (November) 2023 onwards "az vm/vmss create" command will deploy Gen2-Trusted Launch VM by default. To know more about the default change and Trusted Launch, please visit https://aka.ms/TLaD
Consider using the "Ubuntu2204" alias. On April 30, 2023,the image deployed by the "UbuntuLTS" alias reaches its end of life. The "UbuntuLTS" will be removed with the breaking change release of Fall 2023.
Ignite (November) 2023 onwards "az vm/vmss create" command will deploy Gen2-Trusted Launch VM by default. To know more about the default change and Trusted Launch, please visit https://aka.ms/TLaD
Consider using the "Ubuntu2204" alias. On April 30, 2023,the image deployed by the "UbuntuLTS" alias reaches its end of life. The "UbuntuLTS" will be removed with the breaking change release of Fall 2023.

{
"ipConfigurations": [
{
"etag": "W/"0e54532d-1644-4310-9fe6-7cf618e30948"",
"id": "/subscriptions/2213e8b1-dbc7-4d54-8aff-b5e315df5e5b/resourceGroups/1-9232b164-playground-sandbox/providers/Microsoft.Network/networkInterfaces/hub-nva-vmVMNic/ipConfigurations/ipconfighub-nva-vm",
"name": "ipconfighub-nva-vm",
"primary": true,
"privateIPAddress": "10.0.1.4",
"privateIPAddressVersion": "IPv4",
"privateIPAllocationMethod": "Dynamic",
"provisioningState": "Succeeded",
"publicIPAddress": {
"id": "/subscriptions/2213e8b1-dbc7-4d54-8aff-b5e315df5e5b/resourceGroups/1-9232b164-playground-sandbox/providers/Microsoft.Network/publicIPAddresses/myPublicIP-nva",
"resourceGroup": "1-9232b164-playground-sandbox"
},
"resourceGroup": "1-9232b164-playground-sandbox",
"subnet": {
"id": "/subscriptions/2213e8b1-dbc7-4d54-8aff-b5e315df5e5b/resourceGroups/1-9232b164-playground-sandbox/providers/Microsoft.Network/virtualNetworks/cake-hub-vnet/subnets/nva-subnet",
"resourceGroup": "1-9232b164-playground-sandbox"
},
"type": "Microsoft.Network/networkInterfaces/ipConfigurations"
}
],
"location": "eastus",
"macAddress": "00-0D-3A-1A-07-79",
"name": "hub-nva-vmVMNic",
"networkSecurityGroup": {
"id": "/subscriptions/2213e8b1-dbc7-4d54-8aff-b5e315df5e5b/resourceGroups/1-9232b164-playground-sandbox/providers/Microsoft.Network/networkSecurityGroups/hub-nva-vmNSG",
"resourceGroup": "1-9232b164-playground-sandbox"
},
"nicType": "Standard",
"primary": true,
"provisioningState": "Succeeded",
"resourceGroup": "1-9232b164-playground-sandbox",
"resourceGuid": "f87e7cd4-3188-43c0-b154-99a02dcac698",
"tags": {},
"tapConfigurations": [],
"type": "Microsoft.Network/networkInterfaces",
"virtualMachine": {
"id": "/subscriptions/2213e8b1-dbc7-4d54-8aff-b5e315df5e5b/resourceGroups/1-9232b164-playground-sandbox/providers/Microsoft.Compute/virtualMachines/hub-nva-vm",
"resourceGroup": "1-9232b164-playground-sandbox"
},
"vnetEncryptionSupported": false
}
Failed to parse string as JSON:
{"commandToExecute":"sudo sysctl -w net.ipv4.ip_forward=1"}
Error detail: Expecting property name enclosed in double quotes: line 1 column 2 (char 1)
Please provide a valid JSON file path or JSON string.
The provided JSON string may have been parsed by the shell. See https://docs.microsoft.com/cli/azure/use-cli-effectively#use-quotation-marks-in-arguments

PS /home/cloud>

`

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