sysadmin-cookbook
13 years agoinclude all options for blkio cgroup
Dobrica Pavlinusic [Sun, 15 May 2011 00:04:01 +0000 (00:04 +0000)]
include all options for blkio cgroup

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@261 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoadded missing file
Dobrica Pavlinusic [Sat, 14 May 2011 20:07:00 +0000 (20:07 +0000)]
added missing file

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@260 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agostart kvm with two ethernets
Dobrica Pavlinusic [Sat, 14 May 2011 20:03:06 +0000 (20:03 +0000)]
start kvm with two ethernets

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@259 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoadd tap interface to host lapop
Dobrica Pavlinusic [Sat, 14 May 2011 19:53:44 +0000 (19:53 +0000)]
add tap interface to host lapop

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@258 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agouse apt-cacher-ng if installed
Dobrica Pavlinusic [Sat, 14 May 2011 19:48:20 +0000 (19:48 +0000)]
use apt-cacher-ng if installed

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@257 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoinstall all required packages inside container automatically
Dobrica Pavlinusic [Sat, 14 May 2011 15:46:26 +0000 (15:46 +0000)]
install all required packages inside container automatically

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@256 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agopatch kernel with lxc patches
Dobrica Pavlinusic [Sat, 14 May 2011 15:28:41 +0000 (15:28 +0000)]
patch kernel with lxc patches

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@255 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoinstall libc6-amd64 so that busybox container start works
Dobrica Pavlinusic [Sat, 14 May 2011 15:25:11 +0000 (15:25 +0000)]
install libc6-amd64 so that busybox container start works

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@254 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoboot kvm
Dobrica Pavlinusic [Fri, 13 May 2011 20:06:14 +0000 (20:06 +0000)]
boot kvm

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@253 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agobuild kvm kernel
Dobrica Pavlinusic [Fri, 13 May 2011 19:58:32 +0000 (19:58 +0000)]
build kvm kernel

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@252 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agorename file to be in sync with step 1 in docs
Dobrica Pavlinusic [Fri, 13 May 2011 19:55:42 +0000 (19:55 +0000)]
rename file to be in sync with step 1 in docs

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@251 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agochown image file and require sudo to run
Dobrica Pavlinusic [Fri, 13 May 2011 19:48:28 +0000 (19:48 +0000)]
chown image file and require sudo to run

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@250 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoinstall required packages
Dobrica Pavlinusic [Fri, 13 May 2011 19:41:08 +0000 (19:41 +0000)]
install required packages

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@249 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agocreate kvm rootfs
Dobrica Pavlinusic [Fri, 13 May 2011 19:33:24 +0000 (19:33 +0000)]
create kvm rootfs

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@248 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoBegin following http://www.landley.net/lxc/
Dobrica Pavlinusic [Fri, 13 May 2011 19:32:53 +0000 (19:32 +0000)]
Begin following http://www.landley.net/lxc/

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@247 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoinstall debootstrap
Dobrica Pavlinusic [Sat, 7 May 2011 12:35:18 +0000 (12:35 +0000)]
install debootstrap

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@246 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agocorrect sulogin counting
Dobrica Pavlinusic [Tue, 29 Mar 2011 18:02:44 +0000 (18:02 +0000)]
correct sulogin counting

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@245 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoremote device rw on start
Dobrica Pavlinusic [Tue, 29 Mar 2011 18:00:40 +0000 (18:00 +0000)]
remote device rw on start

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@244 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoremount rootfs before start to fix debian upgrades
Dobrica Pavlinusic [Thu, 24 Mar 2011 16:40:46 +0000 (16:40 +0000)]
remount rootfs before start to fix debian upgrades

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@243 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoremove function bash-isam
Dobrica Pavlinusic [Sun, 13 Feb 2011 19:39:00 +0000 (19:39 +0000)]
remove function bash-isam

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@242 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoupstream is now git
Dobrica Pavlinusic [Fri, 11 Feb 2011 17:25:08 +0000 (17:25 +0000)]
upstream is now git

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@241 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoand load modules
Dobrica Pavlinusic [Thu, 3 Feb 2011 14:49:41 +0000 (14:49 +0000)]
and load modules

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@240 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agocompile it
Dobrica Pavlinusic [Thu, 3 Feb 2011 14:49:19 +0000 (14:49 +0000)]
compile it

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@239 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agodownload latest compcache
Dobrica Pavlinusic [Thu, 3 Feb 2011 14:48:22 +0000 (14:48 +0000)]
download latest compcache

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@238 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoremote checkfs.sh from squeeze
Dobrica Pavlinusic [Wed, 26 Jan 2011 18:56:17 +0000 (18:56 +0000)]
remote checkfs.sh from squeeze

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@237 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agofix console condition, restart now works
Dobrica Pavlinusic [Wed, 26 Jan 2011 12:16:23 +0000 (12:16 +0000)]
fix console condition, restart now works

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@236 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agouse only first ip address
Dobrica Pavlinusic [Tue, 25 Jan 2011 14:40:42 +0000 (14:40 +0000)]
use only first ip address

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@235 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoremote checkroot.sh used by squeeze
Dobrica Pavlinusic [Sat, 22 Jan 2011 16:07:46 +0000 (16:07 +0000)]
remote checkroot.sh used by squeeze

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@234 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agocleanup ip address and insert it into /etc/hosts inside container
Dobrica Pavlinusic [Sun, 24 Oct 2010 12:23:20 +0000 (12:23 +0000)]
cleanup ip address and insert it into /etc/hosts inside container

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@233 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoextract lxc_hostname and lxc_ip into functions
Dobrica Pavlinusic [Sun, 24 Oct 2010 11:55:02 +0000 (11:55 +0000)]
extract lxc_hostname and lxc_ip into functions

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@232 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoreboot linux kernel on panic after x seconds
Dobrica Pavlinusic [Tue, 19 Oct 2010 21:41:12 +0000 (21:41 +0000)]
reboot linux kernel on panic after x seconds

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@231 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoload usbmon and mount debugfs
Dobrica Pavlinusic [Fri, 15 Oct 2010 20:37:08 +0000 (20:37 +0000)]
load usbmon and mount debugfs

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@230 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agofix ip address display
Dobrica Pavlinusic [Sat, 11 Sep 2010 12:19:12 +0000 (12:19 +0000)]
fix ip address display

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@229 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoextract ip from config file
Dobrica Pavlinusic [Sat, 11 Sep 2010 11:51:37 +0000 (11:51 +0000)]
extract ip from config file

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@228 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agodon't try to start containers without rootfs mounted
Dobrica Pavlinusic [Tue, 7 Sep 2010 16:02:12 +0000 (16:02 +0000)]
don't try to start containers without rootfs mounted

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@227 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agooverwrite /etc/hostname from name of lxc
Dobrica Pavlinusic [Tue, 10 Aug 2010 17:03:15 +0000 (17:03 +0000)]
overwrite /etc/hostname from name of lxc

This allows us to make clones with different name right after boot

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@226 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoload ipmi modules
Dobrica Pavlinusic [Thu, 22 Jul 2010 12:00:08 +0000 (12:00 +0000)]
load ipmi modules

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@225 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoinstall ipmitool
Dobrica Pavlinusic [Thu, 22 Jul 2010 11:57:53 +0000 (11:57 +0000)]
install ipmitool

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@224 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoinstall gpsd-clients
Dobrica Pavlinusic [Wed, 14 Jul 2010 21:03:27 +0000 (21:03 +0000)]
install gpsd-clients

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@223 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoconfigure DEVICES
Dobrica Pavlinusic [Wed, 14 Jul 2010 21:03:05 +0000 (21:03 +0000)]
configure DEVICES

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@222 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoconfigure bluetooth rfcomm0
Dobrica Pavlinusic [Wed, 14 Jul 2010 20:51:36 +0000 (20:51 +0000)]
configure bluetooth rfcomm0

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@221 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoinstall gpsd
Dobrica Pavlinusic [Wed, 14 Jul 2010 20:51:07 +0000 (20:51 +0000)]
install gpsd

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@220 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agocheck expire from longest to shortes
Dobrica Pavlinusic [Sun, 27 Jun 2010 21:55:33 +0000 (21:55 +0000)]
check expire from longest to shortes

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@219 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoremove udev startup from container
Dobrica Pavlinusic [Mon, 14 Jun 2010 12:13:14 +0000 (12:13 +0000)]
remove udev startup from container

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@218 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoalways do lvremove at start and keep snapshot
Dobrica Pavlinusic [Fri, 11 Jun 2010 12:39:11 +0000 (12:39 +0000)]
always do lvremove at start and keep snapshot

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@217 191e9f34-6774-4a6d-acfc-7664dacd4a2a

13 years agoshow ip and hostname in status
Dobrica Pavlinusic [Wed, 26 May 2010 10:19:05 +0000 (10:19 +0000)]
show ip and hostname in status

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@216 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agostart openvpn from /etc/network/interfaces
Dobrica Pavlinusic [Thu, 13 May 2010 13:55:43 +0000 (13:55 +0000)]
start openvpn from /etc/network/interfaces

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@215 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agojoin tap device into bridge on server
Dobrica Pavlinusic [Thu, 13 May 2010 13:54:33 +0000 (13:54 +0000)]
join tap device into bridge on server

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@214 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agosetup IP for client and masquarade local network
Dobrica Pavlinusic [Thu, 13 May 2010 13:53:50 +0000 (13:53 +0000)]
setup IP for client and masquarade local network

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@213 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agocreate client configuration
Dobrica Pavlinusic [Thu, 13 May 2010 13:52:36 +0000 (13:52 +0000)]
create client configuration

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@212 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agocreate openvpn configuration
Dobrica Pavlinusic [Thu, 13 May 2010 13:50:31 +0000 (13:50 +0000)]
create openvpn configuration

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@211 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agogenerate static key on server
Dobrica Pavlinusic [Thu, 13 May 2010 13:49:13 +0000 (13:49 +0000)]
generate static key on server

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@210 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agocreate openvpn conf file for tun10
Dobrica Pavlinusic [Tue, 11 May 2010 18:48:49 +0000 (18:48 +0000)]
create openvpn conf file for tun10

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@209 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agogenerate static key on server
Dobrica Pavlinusic [Tue, 11 May 2010 18:42:12 +0000 (18:42 +0000)]
generate static key on server

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@208 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agoinstall openvpn
Dobrica Pavlinusic [Tue, 11 May 2010 18:34:35 +0000 (18:34 +0000)]
install openvpn

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@207 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agoremove function which is bashisam (and thus we work under dash as /bin/sh)
Dobrica Pavlinusic [Mon, 10 May 2010 12:50:50 +0000 (12:50 +0000)]
remove function which is bashisam (and thus we work under dash as /bin/sh)

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@206 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agomake lvm snapshot for each machine, transfer files using rsync protocol
Dobrica Pavlinusic [Sun, 2 May 2010 17:46:44 +0000 (17:46 +0000)]
make lvm snapshot for each machine, transfer files using rsync protocol

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@205 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agoinstall German::Client from package
Dobrica Pavlinusic [Sun, 2 May 2010 16:24:42 +0000 (16:24 +0000)]
install German::Client from package

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@204 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agosimple perl command-line client depenent only on libgearman-client-perl which is...
Dobrica Pavlinusic [Sat, 1 May 2010 12:49:20 +0000 (12:49 +0000)]
simple perl command-line client depenent only on libgearman-client-perl which is in etch

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@203 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agosimple grep_hostname worker
Dobrica Pavlinusic [Sat, 1 May 2010 12:37:46 +0000 (12:37 +0000)]
simple grep_hostname worker

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@202 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agomake executable
Dobrica Pavlinusic [Tue, 27 Apr 2010 08:21:22 +0000 (08:21 +0000)]
make executable

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@201 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agoinstall our lxc-debian
Dobrica Pavlinusic [Tue, 27 Apr 2010 08:20:25 +0000 (08:20 +0000)]
install our lxc-debian

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@200 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agoexpire snapshots older than 3 days
Dobrica Pavlinusic [Sun, 11 Apr 2010 20:36:10 +0000 (20:36 +0000)]
expire snapshots older than 3 days

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@199 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agopull btrfs snapshot from rsync server
Dobrica Pavlinusic [Wed, 31 Mar 2010 06:15:41 +0000 (06:15 +0000)]
pull btrfs snapshot from rsync server

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@198 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agomake hourly snapshots
Dobrica Pavlinusic [Sun, 28 Mar 2010 20:54:15 +0000 (20:54 +0000)]
make hourly snapshots

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@197 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agouse column to display nice tabular output from status
Dobrica Pavlinusic [Wed, 24 Mar 2010 19:06:42 +0000 (19:06 +0000)]
use column to display nice tabular output from status

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@196 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agolxc-ls displays random files in /var/lib/lxc/ and duplicates so don't use it
Dobrica Pavlinusic [Wed, 24 Mar 2010 19:03:16 +0000 (19:03 +0000)]
lxc-ls displays random files in /var/lib/lxc/ and duplicates so don't use it

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@195 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agoextract correct lxc.rootfs
Dobrica Pavlinusic [Mon, 22 Mar 2010 21:48:27 +0000 (21:48 +0000)]
extract correct lxc.rootfs

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@194 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agoensure that we have getty on tty1
Dobrica Pavlinusic [Fri, 19 Mar 2010 14:11:49 +0000 (14:11 +0000)]
ensure that we have getty on tty1

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@193 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agoexamples for lxc.network.hwaddr, lxc.network.veth.pair and lxc.mount.entry
Dobrica Pavlinusic [Fri, 19 Mar 2010 14:02:14 +0000 (14:02 +0000)]
examples for lxc.network.hwaddr, lxc.network.veth.pair and lxc.mount.entry

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@192 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agoinstall dependencies
Dobrica Pavlinusic [Thu, 18 Mar 2010 20:50:33 +0000 (20:50 +0000)]
install dependencies

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@191 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agobetter usage, install as init script docs
Dobrica Pavlinusic [Tue, 16 Mar 2010 23:14:38 +0000 (23:14 +0000)]
better usage, install as init script docs

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@190 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agobetter output
Dobrica Pavlinusic [Tue, 16 Mar 2010 23:05:31 +0000 (23:05 +0000)]
better output

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@189 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agoadded boot and disable
Dobrica Pavlinusic [Tue, 16 Mar 2010 22:00:20 +0000 (22:00 +0000)]
added boot and disable

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@188 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agotimestap watchdog output
Dobrica Pavlinusic [Tue, 16 Mar 2010 21:36:45 +0000 (21:36 +0000)]
timestap watchdog output

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@187 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agogive container 5 seconds to start more than one process
Dobrica Pavlinusic [Tue, 16 Mar 2010 20:53:59 +0000 (20:53 +0000)]
give container 5 seconds to start more than one process

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@186 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agocreate on_boot only if it doesn't exist
Dobrica Pavlinusic [Tue, 16 Mar 2010 20:51:46 +0000 (20:51 +0000)]
create on_boot only if it doesn't exist

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@185 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agoadded proper LSB init.d headers
Dobrica Pavlinusic [Tue, 16 Mar 2010 20:42:38 +0000 (20:42 +0000)]
added proper LSB init.d headers

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@184 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agoreal host reboot, status now include rootfs and on_boot
Dobrica Pavlinusic [Tue, 16 Mar 2010 19:59:41 +0000 (19:59 +0000)]
real host reboot, status now include rootfs and on_boot

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@183 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agomove inotify so watchdog can stop lxc in init state 0
Dobrica Pavlinusic [Tue, 16 Mar 2010 17:46:32 +0000 (17:46 +0000)]
move inotify so watchdog can stop lxc in init state 0

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@182 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agorewrite into init-like script with start/stop/status name
Dobrica Pavlinusic [Tue, 16 Mar 2010 17:39:28 +0000 (17:39 +0000)]
rewrite into init-like script with start/stop/status name

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@181 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agouse lxc-ps to find container's init
Dobrica Pavlinusic [Tue, 16 Mar 2010 16:18:40 +0000 (16:18 +0000)]
use lxc-ps to find container's init

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@180 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agoadd powerfail to container's /etc/inittab which halt on kill -SIGPWR
Dobrica Pavlinusic [Tue, 16 Mar 2010 15:33:30 +0000 (15:33 +0000)]
add powerfail to container's /etc/inittab which halt on kill -SIGPWR

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@179 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agocleanup init scripts which are not needed inside containers
Dobrica Pavlinusic [Tue, 16 Mar 2010 15:06:30 +0000 (15:06 +0000)]
cleanup init scripts which are not needed inside containers

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@178 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agomake container name first argument
Dobrica Pavlinusic [Tue, 16 Mar 2010 14:52:56 +0000 (14:52 +0000)]
make container name first argument

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@177 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agoadded --arch to force arhitecture to bootstrap
Dobrica Pavlinusic [Mon, 15 Mar 2010 23:09:38 +0000 (23:09 +0000)]
added --arch to force arhitecture to bootstrap

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@176 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agoStart container and stop/start on reboot/halt
Dobrica Pavlinusic [Mon, 15 Mar 2010 23:08:31 +0000 (23:08 +0000)]
Start container and stop/start on reboot/halt

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@175 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agozcat /usr/share/doc/lxc/examples/lxc-debian.gz > lxc-debian
Dobrica Pavlinusic [Sat, 13 Mar 2010 13:21:48 +0000 (13:21 +0000)]
zcat /usr/share/doc/lxc/examples/lxc-debian.gz > lxc-debian

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@174 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agoconfigure PPPoE server
Dobrica Pavlinusic [Wed, 10 Mar 2010 09:54:46 +0000 (09:54 +0000)]
configure PPPoE server

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@173 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agoshow symetrical transfer as single dashed edge
Dobrica Pavlinusic [Sun, 21 Feb 2010 14:33:05 +0000 (14:33 +0000)]
show symetrical transfer as single dashed edge

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@172 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agoadded few more hosts
Dobrica Pavlinusic [Sat, 20 Feb 2010 17:36:16 +0000 (17:36 +0000)]
added few more hosts

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@171 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agomore verbose collect (it's automatic in test-all.pl!)
Dobrica Pavlinusic [Sat, 20 Feb 2010 17:36:05 +0000 (17:36 +0000)]
more verbose collect (it's automatic in test-all.pl!)

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@170 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agotest just missing files
Dobrica Pavlinusic [Sat, 20 Feb 2010 17:35:42 +0000 (17:35 +0000)]
test just missing files

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@169 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agocleanup empty *.np files
Dobrica Pavlinusic [Sat, 20 Feb 2010 17:35:22 +0000 (17:35 +0000)]
cleanup empty *.np files

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@168 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agoexecute command on all hosts
Dobrica Pavlinusic [Sat, 20 Feb 2010 17:15:06 +0000 (17:15 +0000)]
execute command on all hosts

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@167 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agodon't require anything on target hosts
Dobrica Pavlinusic [Sat, 20 Feb 2010 16:32:19 +0000 (16:32 +0000)]
don't require anything on target hosts

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@166 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agored color under 150Mb/s
Dobrica Pavlinusic [Sat, 20 Feb 2010 16:32:01 +0000 (16:32 +0000)]
red color under 150Mb/s

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@165 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agoinstall netpipe-tcp on all hosts with make install
Dobrica Pavlinusic [Sat, 20 Feb 2010 16:31:41 +0000 (16:31 +0000)]
install netpipe-tcp on all hosts with make install

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@164 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agorun tests on all hosts automatically
Dobrica Pavlinusic [Fri, 19 Feb 2010 22:36:27 +0000 (22:36 +0000)]
run tests on all hosts automatically

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@163 191e9f34-6774-4a6d-acfc-7664dacd4a2a

14 years agojust run test against all hosts
Dobrica Pavlinusic [Fri, 19 Feb 2010 21:47:40 +0000 (21:47 +0000)]
just run test against all hosts

git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@162 191e9f34-6774-4a6d-acfc-7664dacd4a2a