Vagrant.configure("2") do |config| config.vm.box = "jacqinthebox/windowsserver2016" config.vm.define "windows-domain-controller" config.vm.hostname = "dc" # use the plaintext WinRM transport and force it to use basic authentication. # NB this is needed because the default negotiate transport stops working # after the domain controller is installed. # see https://groups.google.com/forum/#!topic/vagrant-up/sZantuCM0q4 config.vm.communicator = "winrm" config.winrm.transport = :plaintext config.winrm.basic_auth_only = true config.vm.provider :virtualbox do |v, override| v.linked_clone = true v.cpus = 2 v.memory = 2048 v.customize ["modifyvm", :id, "--vram", 64] v.customize ["modifyvm", :id, "--clipboard", "bidirectional"] v.customize ["storageattach", :id, "--storagectl", "IDE Controller", "--device", "0", "--port", "1", "--type", "dvddrive", "--medium", "emptydrive"] end config.vm.network "private_network", ip: "192.168.56.2" config.vm.provision "shell", inline: "$env:chocolateyVersion='0.10.8'; iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex", name: "Install Chocolatey" config.vm.provision "shell", path: "provision/ps.ps1", args: "provision-base.ps1" config.vm.provision "reload" config.vm.provision "shell", path: "provision/ps.ps1", args: "domain-controller.ps1" config.vm.provision "reload" config.vm.provision "shell", path: "provision/ps.ps1", args: "domain-controller-configure.ps1" config.vm.provision "shell", path: "provision/ps.ps1", args: "ad-explorer.ps1" config.vm.provision "shell", path: "provision/ps.ps1", args: "ca.ps1" config.vm.provision "reload" config.vm.provision "shell", path: "provision/ps.ps1", args: "summary.ps1" end
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#3 | 25623 | Jen Bottom | Have moved the AD stuff in to the 'ldap' directory | ||
#2 | 25621 | Jen Bottom | Integrating sone fixes from dev to main | ||
#1 | 23849 | Jen Bottom |
Integrating an AD setup from dev to main. This is based on a Vagrant setup that is available on GitHub |