#tools
A series of configuration files, scripts & tools to help me manage multiple & complex systems.
##configs Here be configuration files for tuning network options, providing host based firewalling, custom aliases for complex commands & environment variables
##desktop-tools Contains latest Intel Pro 1000e network driver for Linux & a customized shell script to provide the following functionality:
- Compile & load latest Intel driver if it doesn't exist
- Setup network configuration, gateway & DNS options
- Install lvm2 & mdadm packages if they don't exist
- Prompt for passphrase
- Decrypt all luks devices
- Setup or create all LVM's on decrypted devices
- Mount all partitions
- Mount /proc, bind /dev & /sys partitions
- Chroot into environment for repairs etc.
- On exit, unmount & relock all encypted partitions
##laptop-tools Similar tool set as the desktop tools. Provides the following functionality:
- Prompt for passphrase
- Decrypt all luks devices
- Setup or create all LVM's on decrypted devices
- Mount all partitions
- Mount /proc, bind /dev & /sys partitions
- Chroot into environment for repairs etc.
- On exit, unmount & relock all encypted partitions
##vm-tools A simple shell script to help with creation & use of qemu based virtual machines.
###Create new VM Here is how you can create a new VM. Requires a valid ISO file within the ISO folder. It will create a new .iso within the VM folder & launch a QEMU instance running the ISO you specified for a new guest OS instllation.
%> ./launcher install <name-of-vm> <path/to/iso>
###Launch existing VM Here is how you can launch an existing VM.
%> ./launcher
1) vm/docker.iso
2) vm/lamp.iso
3) vm/node.iso
Select VM to load or 'q' to quit:
Pick a number and then VNC & SSH connections are available on TCP port 2222 or 127.0.0.1:1 respectively.