Skip to content

Instantly share code, notes, and snippets.

- name: Install utility packages common to all hosts
apt:
name:
- aptitude
- jq
- curl
- git-core
- at
state: present
autoclean: yes
Wymuszenie zatrzymania sesji backupu/odtworzenia/replikacji z poziomu SSH:
Listing sesji backupu: avmaint sessions | grep sessionid
Zatrzymanie sesji: avmaint kill sessionid
Wykonanie CheckPoint’a: avmaint checkpoint --ava
Walidacja CheckPoint’a: avmaint hfscheck --rolling –ava
@smagiera
smagiera / gist:5c05853fd28bd9749511ec7fa956f486
Created January 18, 2019 10:09
modem config using networkd
# First, mask NetworkManager (if not done already)
systemctl mask NetworkManager
# Unmask, enable and start ModemManager
systemctl unmask ModemManager
systemctl enable ModemManager
systemctl start ModemManager
# Add a .network file for your modem network interface:
cat /etc/systemd/network/wwp0s20u6c2i12.network:
" Use Vim settings, rather then Vi settings (much better!).
" This must be first, because it changes other options as a side effect.
set nocompatible
" ================ General Config ====================
set number "Line numbers are good
set backspace=indent,eol,start "Allow backspace in insert mode
set history=1000 "Store lots of :cmdline history
set showcmd "Show incomplete cmds down the bottom