As configured in my dotfiles.
start new:
tmux
start new with session name:
| # This is the entire preseed config file used on an example Lucid system. See the preseed | |
| # documentation for more information on the options here. This will use US English by default. | |
| # | |
| # https://help.ubuntu.com/10.04/installation-guide/amd64/preseed-contents.html | |
| # | |
| # This preseed will automatically install Ubuntu 10.04 with default options. Understand what | |
| # it is doing before you use it. | |
| # | |
| # Boot Options line: | |
| # |
| #!/usr/bin/python | |
| """ | |
| S3 to Rackspace Cloud Files Migration | |
| This script will copy the contents of a S3 | |
| bucket to to a Rackspace Cloud Files container. | |
| Depends on the boto and python_cloudfiles python libraries. |
As configured in my dotfiles.
start new:
tmux
start new with session name:
December 13, 2016 - This gist has been moved to a dedicated github repo, https://github.com/vrillusions/ubuntu-kickstart, no more updates will be posted to this gist.
| #!/usr/bin/python | |
| """ | |
| Rackspace Cloud Files to S3 Migration | |
| This script will copy the contents of a | |
| Rackspace Cloud Files container | |
| to an S3 bucket. |
| #!/bin/bash | |
| # bash functions to autenticate and assume roles in aws federated accounts | |
| # required tools on $PATH - aws, date, curl, jq, libxml2-utils | |
| # requried environment variables: | |
| export AWS_CLI=`which aws` | |
| # optional environment variable, to automatically assume a specific role when calling assume() | |
| # AWS_ASSUME_ROLE=arn:aws:iam::369407384105:role/cross-account-federated-role |
| d-i debian-installer/locale string en_US | |
| d-i time/zone string Europe/Berlin | |
| d-i console-setup/ask_detect boolean false | |
| d-i keyboard-configuration/layoutcode string de | |
| d-i netcfg/choose_interface select auto | |
| d-i netcfg/get_hostname string unassigned-hostname | |
| d-i netcfg/get_domain string unassigned-domain | |
| d-i mirror/country string manual | |
| d-i mirror/http/hostname string archive.ubuntu.com | |
| d-i mirror/http/directory string /ubuntu |
| # Mikrotik script to update DuckDNS.org domain, to use it: | |
| # - Download it as `duckdns-update` | |
| # - Tune your `duckToken` and `duckDomain` variables | |
| # - Copy it to your router: | |
| # `scp duckdns-update user@you-router:` | |
| # - Add the script | |
| # `/system script add name=duckdns-update source=[ /file get duckdns-update contents ]` | |
| # - Add a periodic task to execute it | |
| # `/system scheduler add name=duckdns-updater interval=1h on-event=duckdns-update` | |
| # - Or execute it manully |