Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

# See this wiki page for more info:
# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info
print_info() {
info title
info underline
info "OS" distro
info "Host" model
info "Kernel" kernel
info "Uptime" uptime
[?25l[?7l .-/+oossssoo+/-.
`:+ssssssssssssssssss+:`
-+ssssssssssssssssssyyssss+-
.ossssssssssssssssssdMMMNysssso.
/ssssssssssshdmmNNmmyNMMMMhssssss/
+ssssssssshmydMMMMMMMNddddyssssssss+
/sssssssshNMMMyhhyyyyhmNMMMNhssssssss/
.ssssssssdMMMNhsssssssssshNMMMdssssssss.
+sssshhhyNMMNyssssssssssssyNMMMysssssss+
ossyNMMMNyMMhsssssssssssssshmmmhssssssso
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AbandonProcessGroup</key>
<true/>
<key>EnvironmentVariables</key>
<dict>
<key>PATH</key>
<string>/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin</string>
#_preseed_V1
#### Contents of the preconfiguration file (for bullseye)
### Localization
# Preseeding only locale sets language, country and locale.
d-i debian-installer/locale string en_US
# The values can also be preseeded individually for greater flexibility.
d-i debian-installer/language string en
d-i debian-installer/country string SE
d-i debian-installer/locale string en_US.UTF-8
Using MunkiReport Version of Migrate
Migration table created successfully.
Migrating: 0100_00_00_000001_timemachine_schema_v1
Migrated: 0100_00_00_000001_timemachine_schema_v1 (0 seconds)
Migrating: 0213_00_00_000001_add_columns_for_pmset_data
Migrated: 0213_00_00_000001_add_columns_for_pmset_data (0 seconds)
Migrating: 0213_00_00_000001_add_dsconfigad_data
Migrated: 0213_00_00_000001_add_dsconfigad_data (0 seconds)
Migrating: 0213_00_00_000001_add_filevault_users
Migrated: 0213_00_00_000001_add_filevault_users (0 seconds)
@jby
jby / fai-make-nfsroot
Created October 20, 2021 12:56
fai-make-nfsroot fails
fai-make-nfsroot -k 10.7s  Wed 20 Oct 2021 02:50:30 PM CEST
Upgrading nfsroot and installing new packages into the nfsroot.
Hit:1 http://deb.debian.org/debian buster InRelease
Hit:2 http://fai-project.org/download buster InRelease
Hit:3 http://deb.debian.org/debian-security buster/updates InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
@jby
jby / fai-mirror
Created October 20, 2021 12:53
fai-mirror fail
install_packages: read config file UBUNTU
install_packages: executing apt-get -d -o Aptitude::Log=/dev/null -o Aptitude::CmdLine::Ignore-Trust-Violations=yes -o APT::Get::AllowUnauthenticated=true -o Acquire::AllowInsecureRepositories=true -o DPkg::force-conflicts::=yes -o Dir::State=/home/jonasb/fai/MIRROR/aptcache/var/lib/apt -o Dir::Log=/home/jonasb/fai/MIRROR/aptcache/var/log/apt -o Dir::State::extended_states=/home/jonasb/fai/MIRROR/aptcache/var/lib/apt/lists/extended_states -o Dir::State::status=/home/jonasb/fai/MIRROR/aptcache/statefile -o Dir::Cache=/home/jonasb/fai/MIRROR/aptcache/var/cache/apt -o Dir::State=/home/jonasb/fai/MIRROR/aptcache/var/cache/apt -o Dir::Cache::Archives=/home/jonasb/fai/MIRROR/aptcache/var/cache/apt/archives -o Dir::Etc=/home/jonasb/fai/MIRROR/aptcache/etc/apt/ -o Dir::State::Lists=/home/jonasb/fai/MIRROR/aptcache/var/lib/apt/lists/ -o APT::Architecture=amd64 -y --fix-missing install linux-image-generic
Reading package lists... Done
Building dependency tree... Done
Package l
Oct 14 14:44:21 preseed-test kernel: [ 0.000000] Linux version 5.11.0-38-generic (buildd@lgw01-amd64-041) (gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #42~20.04.1-Ubuntu SMP Tue Sep 28 20:41:07 UTC 2021 (Ubuntu 5.11.0-38.42~20.04.1-generic 5.11.22)
Oct 14 14:44:21 preseed-test kernel: [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.11.0-38-generic root=/dev/mapper/vgubuntu-root ro find_preseed=/preseed.cfg auto noprompt priority=critical locale=en_US quiet
Oct 14 14:44:21 preseed-test kernel: [ 0.000000] KERNEL supported cpus:
Oct 14 14:44:21 preseed-test kernel: [ 0.000000] Intel GenuineIntel
Oct 14 14:44:21 preseed-test kernel: [ 0.000000] AMD AuthenticAMD
Oct 14 14:44:21 preseed-test kernel: [ 0.000000] Hygon HygonGenuine
Oct 14 14:44:21 preseed-test kernel: [ 0.000000] Centaur CentaurHauls
Oct 14 14:44:21 preseed-test kernel: [ 0.000000] zhaoxin Shanghai
Oct 14 14:44:21 preseed-test kernel: [ 0.000000] Disabled fast string
@jby
jby / preseed.txt
Last active October 17, 2021 18:15
d-i debian-installer/locale string en_US
d-i debian-installer/language string en
d-i debian-installer/country string SE
d-i debian-installer/locale string en_US.UTF-8
d-i localechooser/supported-locales multiselect en_US.UTF-8, sv_SE.UTF-8
d-i console-setup/ask_detect boolean true
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 hw-detect/load_firmware boolean true
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>_metadata</key>
<dict>
<key>created_by</key>
<string>jonasb</string>
<key>creation_date</key>
<date>2020-04-02T13:42:34Z</date>