- Btrfs on main drive, replacing GPT/MBR
- Encrypted main drive using key file on flash drive. Add backup passphrase
- No swap, swap files (limitation of Btrfs) or swap partition (so no suspend-to-disk)
- Boot directory and grub on flash drive
- 1st flash drive partition is Vfat partition to allow for cross-platform file transfers
- Ext4 ISO partition for Linux-only data/ISO files, if desired.
- TODO - edit grub to allow booting ISOs stored on the flash drive.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add this snippet to the top of your playbook. | |
# It will install python2 if missing (but checks first so no expensive repeated apt updates) | |
# gwillem@gmail.com | |
- hosts: all | |
gather_facts: False | |
tasks: | |
- name: install python 2 | |
raw: test -e /usr/bin/python || (apt -y update && apt install -y python-minimal) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: create some vms | |
hosts: localhost | |
connection: local | |
vars_prompt: | |
- name: "vcenter_host" | |
prompt: "Enter vcenter host" | |
private: no | |
default: "vcsa" | |
- name: "vcenter_user" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ubuntu Server automated installation | |
# by Scott Lowe (scott.lowe@scottlowe.org) | |
d-i debian-installer/locale string en_US | |
d-i console-setup/ask_detect boolean false | |
d-i keyboard-configuration/layoutcode string us | |
d-i netcfg/choose_interface select eth0 | |
d-i netcfg/get_hostname string hostname | |
d-i netcfg/get_domain string domain.com | |
d-i netcfg/wireless_wep string |