I hereby claim:
- I am caroman on github.
- I am caroman (https://keybase.io/caroman) on keybase.
- I have a public key ASCjiMhtcgLP8BfQHokTdV-El_xrFAgYzSAKiGHVTuiG2go
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# If one of these files does not exist then something | |
# is really broken | |
[ -f /etc/vz/vz.conf ] || exit 1 | |
[ -f $VE_CONFFILE ] || exit 1 | |
# Source both files. Note the order is important. | |
. /etc/vz/vz.conf | |
. $VE_CONFFILE | |
SRC=/mnt/disk | |
DST=/mnt/disk |
#!/bin/bash | |
CTID="${1:?Missing name for VM}" | |
vzctl create $CTID \ | |
--ostemplate centos-6-x86_64-devel \ | |
--root /vz/root/$CTID \ | |
--private /vz/private/$CTID \ | |
--name $CTID && \ | |
mkdir -p /vz/private/$CTID/mnt/disk |
execute pathogen#infect() | |
set encoding=utf8 | |
set paste | |
set expandtab | |
set textwidth=80 | |
set tabstop=4 | |
set softtabstop=4 | |
set shiftwidth=4 | |
set autoindent | |
set backspace=indent,eol,start |
# Make shift+arrows, ctrl+arrows etc work in Vim. | |
set -g xterm-keys on | |
# Highlight the active window in the status bar. | |
set-window-option -g window-status-current-bg yellow | |
set-window-option -g window-status-current-fg black | |
# Maximize pane, e.g. for copying. | |
#bind-key z resize-pane -Z |