Skip to content

Instantly share code, notes, and snippets.

View nickvsh's full-sized avatar

Nick V nickvsh

  • Kyiv, Ukraine
View GitHub Profile
@nickvsh
nickvsh / ubuntu-server.preseed
Created October 1, 2019 06:55 — forked from robertstarmer/ubuntu-server.preseed
example preseed for OpenStack deployment
d-i mirror/country string manual
d-i mirror/http/hostname string 192.168.26.170
d-i mirror/http/directory string /ubuntu
d-i partman/early_command string vgs --separator=: --noheadings | cut -f1 -d: |while read vg ; do vgchange -an $vg ; done ; pvs --separator=: --noheadings | cut -f1 -d: | while read pv ; do pvremove -ff -y $pv ; done
d-i partman-auto/disk string /dev/sda
d-i partman/alignment string cylinder
d-i partman-md/device_remove_md boolean true
d-i partman-md/confirm boolean true
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-lvm/confirm boolean true
@nickvsh
nickvsh / _
Created July 5, 2019 14:25 — forked from subosito/_
xinit service on systemd
systemctl enable xinit.service
@nickvsh
nickvsh / dnsmasq.sh
Created February 22, 2019 10:48 — forked from kylemanna/dnsmasq.sh
Simple tftp server using dnsmasq
$ sudo dnsmasq -kd -p 0 -C /dev/null -u nobody --enable-tftp --tftp-root=/srv/ftp

Docker Cheat Sheets

Tutorial 1: Docker Installation

Video 1

Debian

from Repository

add stable Docker repo