This repository was archived by the owner on Sep 12, 2024. It is now read-only.

Description
Hey Azure Team, could u please help?
During the DSC Installation for Linux I'm receiving the following issues:

OS: Linux (ubuntu 20.04)
I'm using the following string for extension provisioning:
$vmname = 'ds'
$location = 'westeurope'
$rgName = 'rg-name'
$extensionName = 'DSCForLinux'
$publisher = 'Microsoft.OSTCExtensions'
$version = '2.71'
# You need to change the content of the $privateConfig and $publicConfig
# according to different scenarios in section 3
$privateConfig = '{
"StorageAccountName": "<accountname>",
"StorageAccountKey": "<id-here>"
}'
$publicConfig = '{
"ExtensionAction": "Push",
"FileUri": "C:\\_Projects\\test.mof"
}'
Set-AzVMExtension -ResourceGroupName $rgName -VMName $vmName -Location $location `
-Name $extensionName -Publisher $publisher -ExtensionType $extensionName `
-TypeHandlerVersion $version -SettingString $publicConfig -ProtectedSettingString $privateConfig
Many thanks in advance.