silent installation of salt minion in windows

765 views
Skip to first unread message

udhay prakash pethakamsetty

unread,
Mar 3, 2016, 4:24:15 AM3/3/16
to Salt-users
Hi friends, 

i  need  help in silent (unattended) installation of salt-minion in windows. 
i tried the following, but, still it is asking Y/N

Salt-Minion-2015.8.7-AMD64-Setup.exe /S /master=salt-uday.epiengcloud.com /minion-name=udhayLappy /start-service=0

Then, 
Salt-Minion-2015.8.7-AMD64-Setup.exe /S /v"Y" /master=salt-uday.epiengcloud.com /minion-name=udhayLappy /start-service=0

and, also the /passive option and /qn

But, it is asking Y/N. 

Can someone help me

Shane Lee

unread,
Mar 3, 2016, 8:53:12 AM3/3/16
to Salt-users
I am able to run the installer with the /S switch to install silently.

Could you post a screen shot of the yes/no dialog box you're seeing?

Shane

Fredrik Averpil

unread,
Mar 3, 2016, 3:37:36 PM3/3/16
to salt-...@googlegroups.com

I run this command, and it installs silently:

Salt-Minion-2015.8.7-AMD64-Setup.exe /S /minion-name=%computername% /master=10.0.1.10 /start-service=1

Regards,
Fredrik

udhay prakash pethakamsetty

unread,
Mar 6, 2016, 2:54:21 PM3/6/16
to salt-...@googlegroups.com
oh! it is running if i run the "CMD as Administrator".  How to achieve the same with automation.
Salt-Minion-2015.8.7-AMD64-Setup.exe -U /S /master=salt-uday.com /minion-name=udhayLappy /start-service=0

regards

UDHAY PRAKASH

--
You received this message because you are subscribed to a topic in the Google Groups "Salt-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/salt-users/ZDKnI8OSXNo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to salt-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Megan Wilhite

unread,
Mar 8, 2016, 6:18:49 PM3/8/16
to Salt-users
I'm glad you got it working and thanks for posting your solution :)

udhay prakash pethakamsetty

unread,
Mar 12, 2016, 12:56:26 AM3/12/16
to salt-...@googlegroups.com
Hey! WHAT is the best way to run a Command as admin in windows.
I tried cmd.run with runas: administrator, But, the file is not executing. In the minion, the stderror is "permission denied".


regards

UDHAY PRAKASH

Shane Lee

unread,
Mar 13, 2016, 4:42:31 PM3/13/16
to Salt-users
I would open a command prompt as administrator and launch the executable from there.
  1. Click the Windows orb or the start menu
  2. Type `cmd`
  3. Right click the link that says something like `command prompt'
  4. Select 'Run as administrator'.

udhay prakash pethakamsetty

unread,
Mar 16, 2016, 2:15:11 PM3/16/16
to salt-...@googlegroups.com
yes! lately i learned that executing any command from the salt-master, will inturn, execute them as admin in the minion..
thank you for the reply.

regards

UDHAY PRAKASH
Reply all
Reply to author
Forward
0 new messages