Skip to content

Instantly share code, notes, and snippets.

@frendbox
frendbox / ubuntu-1404-preseed
Created June 3, 2021 16:36 — forked from scottslowe/ubuntu-1404-preseed
This is a preseed file, written for Ubuntu Server 14.04.2, that provides a fully automated installation (assuming the presence of a PXE boot infrastructure and a local HTTP server to provide the installation files).
# Ubuntu Server automated installation
# by Scott Lowe ([email protected])
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
@frendbox
frendbox / ovh-dedicated-wipe-and-install-nixos.sh
Created July 24, 2020 11:29 — forked from nh2/ovh-dedicated-wipe-and-install-nixos.sh
Example script to install NixOS on an OVH dedicated server via the OVH rescue mode
#!/usr/bin/env bash
# Installs NixOS on an OVH server, wiping the server.
#
# This is for a specific server configuration; adjust where needed.
# Originally written for an OVH STOR-1 server.
#
# Prerequisites:
# * Create a LUKS key file at /root/benacofs-luks-key
# e.g. by copying it up.