Prepare the ASDK host computer
Before you can install the Azure Stack Development Kit (ASDK) on the host computer, the ASDK host must be prepared for installation. When the host has been prepared, it will boot from the CloudBuilder.vhdx virtual machine (VM) hard drive to begin ASDK deployment.
Prepare the development kit host computer
Before you can install the ASDK on the host computer, the ASDK host computer environment must be prepared. To prepare that environment, follow these steps:
Sign in as a local admin to your ASDK host computer.
Ensure that the CloudBuilder.vhdx file has been moved to the root of the C:\ drive (
Run the following script to download the ASDK installer file (asdk-installer.ps1) from the Azure Stack GitHub tools repository to the C:\AzureStack_Installer folder on your ASDK host computer:
Be sure to download the asdk-installer.ps1 file each time you install the ASDK. Frequent changes are made to this script and the most current version should be used for each ASDK deployment. Older versions of the script might not work with the most current release.
# Variables $Uri = 'https://raw.githubusercontent.com/Azure/AzureStack-Tools/master/Deployment/asdk-installer.ps1' $LocalPath = 'C:\AzureStack_Installer' # Create folder New-Item $LocalPath -Type directory # Enforce usage of TLSv1.2 to download from GitHub [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 # Download file Invoke-WebRequest $uri -OutFile ($LocalPath + '\' + 'asdk-installer.ps1')
From an elevated PowerShell console, start the C:\AzureStack_Installer\asdk-installer.ps1 script, and then click Prepare Environment.
On the Select Cloudbuilder vhdx page of the installer, browse to and select the cloudbuilder.vhdx file that you downloaded and extracted in the previous steps. On this page, you can also enable the Add drivers check box if you need to add additional drivers to the ASDK kit host computer. Click Next.
On the Optional settings page, provide the local admin account info for the ASDK host computer and then click Next.
If you don't provide the local admin credentials in this step, you'll need direct or KVM access to the host after the computer restarts as part of setting up the ASDK.
You can also provide values for the following optional settings:
Computername: This option sets the name for the ASDK host. The name must comply with FQDN requirements and can't use a reserved name such as AZURESTACK. The name must be 15 characters or less in length. The default is a random computer name generated by Windows.
Select a network adapter. Make sure you can connect to the adapter before you click Next.
Make sure that the displayed IP address, Gateway, and DNS values are correct, provide a valid Time server IP address, and then click Next.
To find a time server IP address, visit ntppool.org or ping time.windows.com.
Click Next to start the preparation process.
When the preparation indicates Completed, click Next.
Click Reboot now to boot the ASDK host computer into the cloudbuilder.vhdx and continue the deployment process.