221

You can use: yum -y install packagename The "-y" implies "yes".


12

Yes, for both Linux and Windows you can build desired state config files that can: Enable or disable server roles and features Manage registry settings Manage files and directories Start, stop, and manage processes and services Manage groups and user accounts Deploy new software Manage environment variables Run Windows PowerShell scripts Fix a configuration ...


7

Add the following line to /etc/yum.conf assumeyes=1


7

Devcon does work. You just need to make sure you are targeting the right version of devcon for your operation system. Take a look at this link http://freneticrapport.blogspot.com/2011/05/windows-hiddennot-connected-device.html. For installing the correct devcon version for your OS: Install the Windows Driver Kit Go to Start -> Programs -> Development ...


6

You can do it all in PowerShell Get-WindowsFeature | ? { $_.Installed } | Export-Clixml .\installed.xml Copy the xml where is needs to go to, somewhere the new server can access it. Import-Clixml <path to xml>\installed.xml | Install-WindowsFeature


5

Here is a simple partman/early_command that does the exactly what I wanted d-i partman/early_command \ string debconf-set partman-auto/disk "$(echo /dev/`ls -l /sys/block/[hs]d* | grep -v "usb" | head -n1 | sed 's/^.*\([hs]d[a-z]\+\).*$/\1/'`)" This early-command is executed just before partman executes. It dynamically sets the value of partman-auto/...


5

I was having the exact same problem until I realized that I hadn't updated my pxe tftpboot environment to agree with my up-to-date Centos 7.5 media, by copying Centos-7.5-version files from centos/7/os/x86_64/isolinux/.


4

It me me quite some time to figure out how remastering worked. I finally got the hang of it and wrote down the steps used to create my first live CD with installer. I want to thank Pilolli Pietro for this google code wiki page: http://code.google.com/p/ardesia/wiki/Create_a_live_distro. This line is specifically used to add an installer (executed from the ...


4

A more concise variant of the debconf solution mentioned in another answer is the following: echo 'libc6 libraries/restart-without-asking boolean true' | sudo debconf-set-selections I just used this solution successfully when upgrading glibc on Debian 7 (wheezy). For the curious, the way I found the right configuration variable to set was as follows: sudo ...


4

You may want to test the SyncForegroundPolicy group policy setting. When enabled, you should see the Software Installation splash banner before the logon dialog. "This policy setting determines whether Group Policy processing is synchronous (that is, whether computers wait for the network to be fully initialized during computer startup and user logon)...


4

Unfortunately, the new installer doesn't have much in the way of automation. This will hopefully be fixed in the near future. The good news is it's not doing anything terribly complicated, so you can write your own "installer" easily. Just netboot (well documented), then write a shell script to do all the partitioning/formatting you want/need and un-tar the ...


4

Presumably the same as with Java 8: echo debconf shared/accepted-oracle-license-v1-1 select true | \ sudo debconf-set-selections echo debconf shared/accepted-oracle-license-v1-1 seen true | \ sudo debconf-set-selections apt-get -y install oracle-java7-installer oracle-java7-set-default


3

It's not completely crazy. This is a bit near and dear to my heart, because prior to WDS I used a cobbled-together PXE-based Windows imaging system which sounds eerily similar to what you describe. I am wary of using SMB over the Internet, partially for security reasons, but more because I worry about reliability. In my cobbled-together system I cached the ...


3

How about making Chocolatey do this: cinst TeamCityAgent -params 'serverurl=http://servername:8081 agentName=Build1' It seems that you still have to open firewall ports, though. This is from Asger Hallas's comment in the link above: New-NetFirewallRule -DisplayName "Allow TeamCity" -Direction Inbound -Protocol TCP -LocalPort 9090 -Program "c:\program ...


3

Use in preseed options of your's own command execution after installation: d-i preseed/late_command string wget http://your-web_or_ftp/unattend/dopostinstall.sh -O /tmp/dopostinstall.sh; chmod +x /tmp/dopostinstall.sh; /tmp/dopostinstall.sh The dopostinstall.sh something like that: #!/bin/ash echo -e "auto lo eth0 \niface lo inet loopback\n\niface eth0 ...


3

The Windows Deployment Services (WDS) functionality is the "supported" method to do automated installations of server and client OS's in a fully-featured way. If you don't want to go that heavyweight you could look at building unattended answer files that will be used to automate the setup process. This is also a "supported" process, but you're more "on ...


3

You may use the %post (post-installation) part of the kickstart file to run the firewall rules, or even create a basic firewall script. I found, on this site an usage example of post-installation configuration. And here you have another explanation of how to achieve what you want. EDIT: %post suggestion: %post mkdir /usr/sample sed -i 's/^\(ENABLE=\s*\).*...


3

Yes, download and use this script, called createOSXinstallPkg. You can find its (simple) documentation, but I recommend you watch the MacSysAdmin 2012 presentation entitled "More Management for Lion and Mountain Lion" by its developer, Greg Neagle, who manages Disney Animation Studios fleet of Mac. You don't need to use his popular FOSS munki deployment ...


3

Scalability and ongoing management are the main considerations... A VM deployed from a template is just that; a facsimile of a master VM. Some items can be customized in a limited manner, but it's not an ideal approach. What about network settings, environment settings, application configuration, system roles? How about even basic items like setting the ...


3

You can use a Autounattend.xml file, which can be generated using the Windows ADK (http://blogs.technet.com/b/yongrhee/archive/2015/08/11/download-windows-10-assessment-and-deployment-kit-adk.aspx) or you can use this website (for simple deployments): http://windowsafg.no-ip.org/win10x86_x64.html Simply place the Autounattend.xml in the root of your install ...


3

The three numbers are minimum size, priority, and maximum size. If there is enough disk space to create this partition and all the partitions with a higher priority value with their maximum sizes, and still enough to create all defined lower-priority partitions with at least their minimum sizes, then you'll get the maximum size. Basically, partman-auto ...


2

You can't, really. There's no native way to do it, and the only ways to work around it I (or the folks at MS) are aware of involve hacky workarounds like disabling the keyboard and mouse or adding a long wait period to the script or boot routine that would prevent anything else from happening, either of which is likely to prompt the user to make a bigger ...


2

You could probably do this with Windows Deployment Services as well, which is pretty simple to set up and use. Create your reference VM (including roles, features and applications), Sysprep it, and capture it with WDS. Then deploy the reference image to other VM's with WDS.


2

Without using something System Center related, and its small volume, SysPrep'ing your machines would be a good option. Check out this link to include SQL in the prep. http://msdn.microsoft.com/en-us/library/ee210754.aspx


2

you can use Active Directory Software Distribution for this. The Skype Business Version is delivered with a MSI Package. There are .adm Extensions for configuring Skype via GPO available too. have a look at http://download.skype.com/share/business/guides/skype-it-administrators-guide.pdf


2

What you need to do is create a DVD image that has an answer file built into it to answer all the questions asked by windows 8. This is called an "unattended install". You could either add it to your ISO and carry on with your script, or potentially have your script generate the needed files and add them to the ISO. I don't have a particular guide handy ...


2

The program you are trying to install requires silent command line parameters. There is no one size fits all to this.


2

I have very little experience with IIS, but this looks like what you want: http://www.iis.net/learn/manage/managing-your-configuration-settings/shared-configuration_264 This one is more recent: https://technet.microsoft.com/en-us/library/jj129390(v=ws.11).aspx


2

Pity you're not on v6, it has this thing called Instant Clone that would speed up this kind of deployment. Anyway have you thought about just using a DHCP/dynamic-DNS solution for this kind of thing, you can pipe through a unique MAC to each VM which would then feed the DHCP to get hostname/IP/DNS details and then register with a dynamic DNS server once ...


2

Yes, this can be automated.Are you doing this on a VMware cluster with vCenter? Maybe you should use DHCP to handle initial provisioning. Otherwise, you have scripting or even template customization options available. I think the real answer depends on how many VMs you need to build and the details of the OS/distro involved.


Only top voted, non community-wiki answers of a minimum length are eligible