Skip to content

Instantly share code, notes, and snippets.

View trytuna's full-sized avatar

Timo Schrappe trytuna

  • TU Dortmund
  • Germany
View GitHub Profile
# https://github.com/churchers/vm-bhyve/wiki
pkg install vm-bhyve grub2-bhyve
zfs create zroot/vm
echo 'vm_enable="YES"' >> /etc/rc.conf
echo 'vm_dir="zfs:zroot/vm"' >> /etc/rc.conf
vm init
cp /usr/local/share/examples/vm-bhyve/* /zroot/vm/.templates/
vm switch create public
vm switch add public em0
@trytuna
trytuna / reproduce.sh
Last active July 5, 2022 09:47
GitLab on Strato VServer: Resource temporarily unavailable
$ apt-get update && apt-get upgrade -y
$ uname -a
Linux 4.9.0 #1 SMP Mon Mar 16 15:39:59 MSK 2020 x86_64 GNU/Linux
# Install docker based on these instruction https://docs.docker.com/engine/install/debian/
$ apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
@trytuna
trytuna / hosts.yml
Last active June 26, 2018 15:19 — forked from phips/hosts.yml
Ansible setting of hostname from inventory, but ignoring IP addresses
- name: Ensure hostname set
hostname: name={{ inventory_hostname }}
when: inventory_hostname is not match('(\d{1,3}\.){3}\d{1,3}')
- name: Ensure hostname is in /etc/hosts
lineinfile:
dest=/etc/hosts
regexp="^{{ ansible_default_ipv4.address }}.+$"
line="{{ ansible_default_ipv4.address }} {{ ansible_fqdn }} {{ ansible_hostname }}"
@trytuna
trytuna / .block
Created June 22, 2018 14:06
Film Flowers, Single Update Complete
license: gpl-3.0
@trytuna
trytuna / .block
Last active June 22, 2018 14:06
Film Flowers, Single Update Complete
license: gpl-3.0
@trytuna
trytuna / .block
Created June 22, 2018 14:01
Film Flowers, Single Update Complete
license: gpl-3.0
@trytuna
trytuna / .block
Last active June 22, 2018 13:58
Film Flowers, Single Starter
license: gpl-3.0
@trytuna
trytuna / .block
Last active June 22, 2018 13:21
Film Flowers, Single Update Starter
license: gpl-3.0
@trytuna
trytuna / .block
Last active June 22, 2018 12:19
Film Flowers, Single Scaled Starter
license: gpl-3.0
@trytuna
trytuna / .block
Last active June 22, 2018 08:12
Film Flowers Petal Starter Code
license: gpl-3.0