Skip to content

Latest commit

 

History

History
86 lines (63 loc) · 2.18 KB

journal.md

File metadata and controls

86 lines (63 loc) · 2.18 KB

Journal

How To Create a New Win Dev Env

Creating from ISO

  • Create the VM using a recent Windows ISO

  • Installer 'I don't have a license' 'Win10 Pro N for Workstations'

  • Initial config

    • Admin user vagrant/vagrant
  • Jump to 'Modify the VM' below

Creating from Vagrant Box

  • Get the latest .box

    vagrant box update --box gusztavvargadr/windows-10

  • Prepare for Vagrant

    • Create new folder for the Vagrantfile
      • Name based on month & year, e.g., Win10Aug23
      • Copy previous Vagrantfile to this new folder
      • Edit Vagrantfile
        • 'config.vm.hostname' to match the folder name convention
      • Create ansible folder and
        • Copy inventory file from previous month (or windev/playbooks)
        • Change target machine name in windows section of inventory
  • Have Vagrant create the VM

    vagrant up or vagrant up --no-provision

Modify the VM

Auto install & config

  • Ansible-playbook

    ANSIBLE_HOST_KEY_CHECKING=false ansible-playbook ../windev/playbooks/main.yml -i ./ansible/inventory

Manual configs

  • Change vagrant's password
  • Install Winget using Store app
  • Install VBox Guest Additions
  • Start and config procexp
  • Clean up task bar (rm Store, Mail, etc.)

History

06/06/2023

  • Created amt/Vagrantfile to manage creating a Windows 10 VM in VirtualBox

08/23/2023

  • Added How To section at tope

11/07/2023

TODO

  • After VM is running

    • Run Remove-DefaultWin10Apps.ps1 Gist
  • Other

    • When to create user & change vagrant's pswd?