Task Sequence - Prompt to enter a hostname

Discussion in 'Parallels Mac Management for Microsoft SCCM' started by ParallelsU289, Jul 24, 2019.

  1. ParallelsU289

    ParallelsU289 Bit Poster

    Messages:
    2
    Documentation: "In the Hostname field, specify a hostname to be assigned to Mac computers. To assign a unique hostname to each individual Mac, you can use a task sequence variable as a value. For example, you may use the %OSDComputerName% built-in variable. Before using the variable here, you must assign it to a device collection or to individual Mac resources. If you leave the value of the variable blank, a Mac user will be prompted to enter a hostname when the step is executed on a Mac. If you assign a value, it will be used to set the Mac's hostname"

    I've followed the instruction and set "%OSDComputerName%" as Hostname. This didn't work, as no prompt came up, the TS failed.
    Log: Started '/Library/Parallels/pma_agent.app/Contents/Resources/../Resources/scripts/set_hostname.sh' '-hostname' ''

    Bildschirmfoto 2019-07-24 um 13.09.18.png

    Next, using the "Set Variables" I've tried to set the OSDComputerName to an empty value. Didn't work either.
    Bildschirmfoto 2019-07-24 um 13.12.18.png

    My last hope was the "Device Collection", where I've added an "Collection Variable". This didn't work also.
    Bildschirmfoto 2019-07-24 um 13.17.49.png

    ---

    What am I doing wrong?

    KR
    Patrick
     
  2. PatK1

    PatK1 Bit Poster

    Messages:
    2
    I am also having this same issue. Hoping for a resolution.
     
  3. BobT4

    BobT4 Bit Poster

    Messages:
    5
    Did you all found a solutions? Please share.
     
  4. BobT4

    BobT4 Bit Poster

    Messages:
    5
    Patrick,

    Did you ever found a solution? Can you share as I am in the same boat trying to figure this out as well as the Join to Domain.

    Regards,

    Bob




     
  5. ParallelsU289

    ParallelsU289 Bit Poster

    Messages:
    2
    I'm using a script to preconfigure some settings using a defaults file, including the hostname. In the same script I'm also installing parallels, so in my case there is no way around it and it's kinda ok. But using an automated method to install parallels - no matter if DEP, by discovery or another one - this will not work.

    As admin and paying customer I'm pretty disappointed of parallels in general and missing support on this forum. Hope this will change in the near feature.
     
  6. andrewb11

    andrewb11 Bit Poster

    Messages:
    7
    I was running into the issue as well. OSDComputerName does have to be added into SCCM itself(this is a sccm variable, not a parallels variable) within the device collection that it being deployed to in order for it to work in a task sequence. This worked for existing Mac collections, but for new macs I had to add this variable to the "Unknown Mac OS X Systems" collection in order for it to work for me. With that being said, I have not tested on a Mac with a T2 chip at this time.
     
  7. andrewb11

    andrewb11 Bit Poster

    Messages:
    7
    To add to my original response, I'm attaching screenshots of just the device collection variable and the task sequence step just in case that can help to clarify.

    Hostname Setup.jpg Set Hostname Task Sequence.jpg
     

Share This Page