Skip to content

Experimenting with automated install of dotnet core for framework dependent installation on Service Fabric

License

Notifications You must be signed in to change notification settings

openclue/vmss-dotnet-custom-script-extension

 
 

Repository files navigation

VMSS Custom Script Extension for dotnet core

This repo contains scripts to update your Azure Virtual Machine Scale Set model to have dotnet core runtime installed, using VMSS custom script extensions and the dotnet-install script: https://github.com/dotnet/docs/blob/master/docs/core/tools/dotnet-install-script.md

How this works

The custom script extension for VMSS can download a script and execute it on a VMSS. The Install-DotnetRuntimeVMSS.ps1 script is the script you run to update the VMSS model with this extension. The Install-DotnetVMSS.ps1 script is the script that's downloaded to the VMSS node and executed to do the install. The Install-DotnetVMSS.ps1 also adds the install directory to the system path.

How to use the extension

  1. In the Install-DotnetRuntimeVMSS.ps1 file, you can add parameters to the $commandToExecute variable, which will control the version, release channel and install directory for dotnet. Use this for reference: https://github.com/dotnet/docs/blob/master/docs/core/tools/dotnet-install-script.md.

  2. Update the VMSS model by running the Install-DotnetRuntimeVMSS.ps1 script.

Troubleshooting

About

Experimenting with automated install of dotnet core for framework dependent installation on Service Fabric

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 56.8%
  • PowerShell 43.2%