Code snippets to deploy virtualised infra.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Alexandre Simao 50c33eb930 Feat: Add README.md 5 months ago
Guests Feat: Add bootstrap script 5 months ago
Host Revert "Feat: Add VNetwork creation" 5 months ago
Unattend Fix: Restore old unattends 6 months ago
temp Feat: Add var + env var in bootstrap 5 months ago
.gitignore Feat: Add README.md 5 months ago
Memo.ps1 Feat: Add bootstrap script 5 months ago
README.md Feat: Add README.md 5 months ago
Todo_Next Fix: Zone Transfer + Reverse. Need test 6 months ago
deploy.cmd Feat: Add boot script + Unnattend 6 months ago

README.md

Aston Hyper-V code snipets

Introduction

As a student at Aston Informatic School we mainly, and until now, exclusively studies Microsoft products.
As i feel that i'm in a strange marketing course for the evil mega-corporation, i'll try to pass the time quicker and focus on some side projects like the FreeIPA integration on a cursed Windows network.
To do that, i need to make the infra-building as quick as possible.
No Ansible, no Chef-Infra, no Terraform; no nice feature as all.
To achieve this ambitious goal, i'll use the ill-named PowerShell scripts.

Usage

First of all, here be dragons.

The host folder contain all scripts needed for deploying the infra.

  • Bootstrap-Hyper-V.ps1 copy the necessary files (diff disks etc) on the desired folders. It will configure automaticaly all aspects to launch VMs on this atrocious Hyper-v.v1
  • Create-ALL.ps1 create all VMs with adequate parameters to comply with the school pre-defined infrastructure. It consist on 2 server on a separate network that does AD, DNS, DHCP for one and nothing for the other at the time.v1
  • Create-SRV.ps1 creates only the poor servers, fixed parameters for the moment.
  • Create-CLI.ps1 create only the cursed client, same ase Create-SRV.ps1.
  • SRV-Kill.ps1 cease the suffering of the servers.
  • ALL-Kill.ps1 cease all the travesty of infrastructure.

TODO

  • Integrate SRV-02 creation and role definition.
  • Variable isinde Create-SRV.ps1, Create-CLI.ps1.
  • Unmount disk on Kill scripts.

Credit roll

  • Sorry to the free-software community for, in a way, increasing the dummyradiance of the Microsoft
  • Richard M. Stallman for his teachings and his wize-wizardness
  • Sylvain Arrambourg, for his teachings.
  • Well, of course my familly, beloved ones and my cat.
  • Fuck Microsoft, may you burn in fire and take with you corporate greed and all privater code.

Licence

GPLv3 my dudes!