cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1906
Views
5
Helpful
11
Replies

[SOLVED] Unattended Installation

Rejohn Cuares
Level 4
Level 4

Hi All,

 

Need help on unattended installation of Cisco UC apps.

 

Goal: Unattended installation of Cisco UC apps (i.e. Cisco Unified Communications Manager).

 

Challenge: Bypass the "Proceed with Install" prompt (see attached image).

I'm already using an Answer File Generator. Unfortunately, what Cisco claims touchless install is not. User has to manually answer two prompts - media check and proceed with install. I managed to bypass the media check but not the second one.

 

Thank you in advanced.

 

 Edit: Now I got UC app installation touchless. I wonder why Cisco didn't put this in any of their documentation.

 

Before

 

After

After

 

Please rate replies and mark question as "answered" if applicable.
11 Replies 11

Manish Gogna
Cisco Employee
Cisco Employee

Hi Rejohn,

As per an internal link this is working as designed. These questions are at the beginning of the install and are for the protection of not only customers but testers.  This will prevent the unintentional wiping of a machine.

 

HTH

Manish

Hello Manish,

I'm aware that it is working as designed but my question is how to bypass these prompts.The idea is to have a custom installer of all Cisco UC apps that we can use to fully automate the installation (that is without prompts like I mentioned above).

If Cisco would give option to users to bypass these prompts (media check and proceed with install), how could the installer wipe the system? Note that I would still use the answer file from Cisco.

 

Please rate replies and mark question as "answered" if applicable.

Prime Collaboration Deployment can automate much of what you want to do with CUCM and IM&P. 

Thanks for your input Brandon.

I already looked at PCD but can't do automation. You have to login to PCD to perform a new install like add the OVA, add ESXi host, create install task, etc using its GUI.

Please rate replies and mark question as "answered" if applicable.

Well the basic ESXi needs to be done yes, but you can schedule a CUCM deployment and everything is done for you.  Deploy the .OVA which can be done at any time then schedule the task to run as you will.

Using PCD will automate the UC apps installation but the PCD side can't be automated :(. You resolved one issue and introduced a new one.

Please rate replies and mark question as "answered" if applicable.

will.alvord
Level 5
Level 5

Would you mind posting how you did this?

 

thanks,

will

m.yost
Level 1
Level 1

I'd like to know how you got that working as well.  I can interact with the vSphere API to upload the OVA and power on the VM, however, if it is prompting for input, I can't seem to find a way to send keystrokes to the virtual machine.  None of the vmware SDKs seem to support doing that.  Also I talked to my one contact at Cisco and adding an API to PCD is not a high priority on the developers list of things to do.

Moyuresh Biswas
Level 1
Level 1

Hi Rejohn, 

How did you bypass both checks? Did you have to include additional xml config to the AFG generated file? 

If you care to share, it would benefit others interested.

Thanks.

ditto

UPDATE:

Looks like the OP may not be watching thread anymore, so I dug a bit and sorted this out, the answer looks to be two part:

  1. to bypass the 1st screen (media check), you have to do one of two things
    1. modify the ISO install media's kickstart file (/ks.cfg) and simply remove or comment out the line that reads "mediacheck" (pretty straightforward with a decent ISO editor)
    2. create your own ISOLINUX boot floppy that happens to include a custom ks.cfg as described above, as well as your AFG files (this one is a bit trickier)
  2. to bypass the 2nd screen (the version confirmation, as shown in the OP's screenscrapes) you need to include an empty file called SKIP_VERSION_SCREEN on the root of your AFG floppy OR (if you are already in there messing with the install ISO) on the root of the install media

These two things are independent, in other words implementing one will work without implementing the other.  I would venture that neither of the methods I found for step 1 would be TAC supported.  And evidence of the trick in item #2 does appear in the install log when you're through:

UCmap touchless install, mode is non-interactive.

So poke at your own risk - the truth is out there.  And as someone in this thread already pointed out, it's pretty easy to create a killer that will indiscriminately wipe existing installs if you take the black magic too far.

Thank you for this!  SKIP_VERSION_SCREEN - what a horrible, horrible hack!

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: