locked
Azure POC TP3 - unattend_NoKVM.xml RRS feed

  • Question

  • During the deployment when it boots into the OS of the CloudBuilder.vhdx, it wipes out all network settings of the host. So I still need KVM access to reconfigure the network settings to have remote access. This is rather inconvenient.

    Is it possible to edit unattend_NoKVM.xml file so that when the host reboots into the Azure POC stack it will retain the original network settings of the host?

    Regards
    Paul
    Tuesday, May 9, 2017 4:32 PM

Answers

All replies

  • Hello Paul,

    Make sure your adding the ‘-ApplyUnattend’ parameter before  unattend_NoKVM.xml’

    Could you post the command you are running?

    The following command assigns the DVM Hosts existing IP config to CloudBuilder.vhdx.

     

    .\PrepareBootFromVHD.ps1-CloudBuilderDiskPath C:\CloudBuilder.vhdx -ApplyUnattend ` unattend_NoKVM.xml

     

    NOTE: It takes my POC about 30 minutes to Boot Cloudbuilder.vhdx. My first deployment it appeared as if the IP settings were wiped out but I was able to login as local\administrator after about 30 minutes.

     

    Question: Is the DVM Host IP set Statically or by DHCP?

    Let us know how it goes.

      

    We apologize for any inconvenience and appreciate your time and interest in Azure Stack.

    If you continue experience any issues with TP3 release, feel free to contact us.

    https://azure.microsoft.com/en-us/blog/hybrid-application-innovation-with-azure-and-azure-stack/

     

    TP3 Azure Stack Docs:

    https://docs.microsoft.com/en-us/azure/azure-stack/

    https://docs.microsoft.com/en-us/azure/azure-stack/azure-stack-troubleshooting

    https://docs.microsoft.com/en-us/azure/azure-stack/azure-stack-diagnostics

    https://aka.ms/GetAzureStackLogs

     

    Thanks,


    Gary Gallanes



    Tuesday, May 9, 2017 5:55 PM
  • Hi Gary,

    DVM Host has a static IP. 

    I ran the command ".\PrepareBootFromVHD.ps1 -CloudBuilderDiskPath C:\CloudBuilder.vhdx -ApplyUnattend" and then it prompted me for the administrator password which I typed in. After leaving it running overnight the server was not accessible from the network the following morning. When someone checked from the console the network settings were lost and had to be recreated. It did preserve the password, however not the network settings.

    Does the unattend_NoKVM.xml file need to be part of the command or is the above method sufficient? As far as I can see there is no place for network settings in the .xml file. Also if I use the .xml file do I need to update the password in the file or will it prompt during the deployment?

    Regards
    Paul



    • Edited by Paul717 Tuesday, May 9, 2017 7:09 PM
    Tuesday, May 9, 2017 6:55 PM
  • Update: including unattend_NoKVM.xml file as part of the command solved the issue.

    Thanks!

    Paul

    Tuesday, May 9, 2017 7:39 PM