sysadmin-cookbook
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

14 years agorun test on all hosts
Dobrica Pavlinusic [Fri, 19 Feb 2010 21:33:12 +0000 (21:33 +0000)]
run test on all hosts

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

14 years agoinstruction to start NPtcp
Dobrica Pavlinusic [Fri, 19 Feb 2010 21:24:49 +0000 (21:24 +0000)]
instruction to start NPtcp

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

14 years agorebuild Debian kernel to support systemtap
Dobrica Pavlinusic [Wed, 17 Feb 2010 14:13:55 +0000 (14:13 +0000)]
rebuild Debian kernel to support systemtap

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

14 years agocreate Debian package of unstable btrfs progs using checkinstall
Dobrica Pavlinusic [Wed, 27 Jan 2010 19:27:06 +0000 (19:27 +0000)]
create Debian package of unstable btrfs progs using checkinstall

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

14 years agochange window and menu font size in firefox
Dobrica Pavlinusic [Tue, 17 Nov 2009 21:48:28 +0000 (21:48 +0000)]
change window and menu font size in firefox

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

14 years agoadd /server-status in /etc/apache2/conf.d/
Dobrica Pavlinusic [Mon, 9 Nov 2009 14:42:52 +0000 (14:42 +0000)]
add /server-status in /etc/apache2/conf.d/

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

14 years agocheck if deflate gets any benefits to single URL
Dobrica Pavlinusic [Mon, 2 Nov 2009 15:40:23 +0000 (15:40 +0000)]
check if deflate gets any benefits to single URL

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

14 years agoApache2 configuration to deflate all content
Dobrica Pavlinusic [Mon, 2 Nov 2009 15:39:50 +0000 (15:39 +0000)]
Apache2 configuration to deflate all content

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

14 years agoadded --sparse
Dobrica Pavlinusic [Mon, 26 Oct 2009 13:01:24 +0000 (13:01 +0000)]
added --sparse

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

14 years agoadded yukon, OpenGL video capturing framework
Dobrica Pavlinusic [Thu, 22 Oct 2009 15:19:25 +0000 (15:19 +0000)]
added yukon, OpenGL video capturing framework

https://devel.neopsis.com/projects/yukon/

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

14 years agoconfigurable hostname as optional third param
Dobrica Pavlinusic [Wed, 21 Oct 2009 12:06:10 +0000 (12:06 +0000)]
configurable hostname as optional third param

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

14 years agoinstall gitweb
Dobrica Pavlinusic [Sat, 17 Oct 2009 12:41:29 +0000 (12:41 +0000)]
install gitweb

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

14 years agofrom man git-svn
Dobrica Pavlinusic [Sat, 17 Oct 2009 12:40:55 +0000 (12:40 +0000)]
from man git-svn

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

14 years agoexample of Frey import into git over svn+ssh
Dobrica Pavlinusic [Sat, 17 Oct 2009 12:40:24 +0000 (12:40 +0000)]
example of Frey import into git over svn+ssh

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

14 years agobegin git part of cookbook
Dobrica Pavlinusic [Sat, 17 Oct 2009 12:39:08 +0000 (12:39 +0000)]
begin git part of cookbook

It's git haters tutorial for subversion and svk lover :-)

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

14 years agorebuild xserver-xorg-video-spu
Dobrica Pavlinusic [Thu, 8 Oct 2009 18:29:18 +0000 (18:29 +0000)]
rebuild xserver-xorg-video-spu

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

14 years agoadded --exclude of some temporary files
Dobrica Pavlinusic [Wed, 30 Sep 2009 12:06:23 +0000 (12:06 +0000)]
added --exclude of some temporary files

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

14 years agocompile http://www.openamt.org/trac/wiki/LocalManageabilityService
Dobrica Pavlinusic [Wed, 16 Sep 2009 20:57:00 +0000 (20:57 +0000)]
compile openamt.org/trac/wiki/LocalManageabilityService

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

14 years agoadded Intel AMT kernel module build and insmod
Dobrica Pavlinusic [Wed, 16 Sep 2009 20:46:53 +0000 (20:46 +0000)]
added Intel AMT kernel module build and insmod

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

14 years agomake screen - to start shared session
Dobrica Pavlinusic [Tue, 1 Sep 2009 17:06:57 +0000 (17:06 +0000)]
make screen - to start shared session
make test   - to connect student@localhost

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

14 years agoadd student to shared screen without write permission to create read-only session...
Dobrica Pavlinusic [Tue, 1 Sep 2009 17:03:22 +0000 (17:03 +0000)]
add student to shared screen without write permission to create read-only session view

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

14 years agostudent home directory with shell which attaches to shared screen session
Dobrica Pavlinusic [Tue, 1 Sep 2009 16:59:11 +0000 (16:59 +0000)]
student home directory with shell which attaches to shared screen session

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

14 years agorestore screen permissions
Dobrica Pavlinusic [Tue, 1 Sep 2009 16:58:33 +0000 (16:58 +0000)]
restore screen permissions

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

14 years agosetup screen suid and tweak /var/tun/screen to allow screen sharing
Dobrica Pavlinusic [Tue, 1 Sep 2009 16:58:17 +0000 (16:58 +0000)]
setup screen suid and tweak /var/tun/screen to allow screen sharing

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

14 years agoadd student user for screen sharing
Dobrica Pavlinusic [Tue, 1 Sep 2009 16:57:39 +0000 (16:57 +0000)]
add student user for screen sharing

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

14 years agoinstall screen
Dobrica Pavlinusic [Tue, 1 Sep 2009 16:27:07 +0000 (16:27 +0000)]
install screen

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

14 years agouse last serial port (so we can use normal serials too)
Dobrica Pavlinusic [Tue, 25 Aug 2009 17:48:56 +0000 (17:48 +0000)]
use last serial port (so we can use normal serials too)
make grub modification optional

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

14 years agotest SMTP server with swaks
Dobrica Pavlinusic [Mon, 24 Aug 2009 18:41:39 +0000 (18:41 +0000)]
test SMTP server with swaks

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

14 years agodisplay system_id and current bios version
Dobrica Pavlinusic [Thu, 20 Aug 2009 13:35:34 +0000 (13:35 +0000)]
display system_id and current bios version

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

14 years agoabort if getSystemID doesn't return valid id
Dobrica Pavlinusic [Thu, 20 Aug 2009 13:34:28 +0000 (13:34 +0000)]
abort if getSystemID doesn't return valid id

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

14 years agoadded iselect
Dobrica Pavlinusic [Thu, 20 Aug 2009 13:34:02 +0000 (13:34 +0000)]
added iselect

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

14 years agoselect bios using iselect
Dobrica Pavlinusic [Thu, 20 Aug 2009 12:57:03 +0000 (12:57 +0000)]
select bios using iselect

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

14 years agoflash Dell bios from Linux
Dobrica Pavlinusic [Thu, 20 Aug 2009 12:43:53 +0000 (12:43 +0000)]
flash Dell bios from Linux

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

14 years agoadded first vblade example
Dobrica Pavlinusic [Mon, 17 Aug 2009 21:00:19 +0000 (21:00 +0000)]
added first vblade example

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

14 years agobuild ether puppet for different arhitectures using Firmware Linux
Dobrica Pavlinusic [Sat, 15 Aug 2009 01:19:39 +0000 (01:19 +0000)]
build ether puppet for different arhitectures using Firmware Linux

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

14 years agonew upstream
Dobrica Pavlinusic [Fri, 14 Aug 2009 19:23:20 +0000 (19:23 +0000)]
new upstream

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

14 years agopoint to new upstream http://git.rudd-o.com/zfs/
Dobrica Pavlinusic [Mon, 10 Aug 2009 23:42:34 +0000 (23:42 +0000)]
point to new upstream http://git.rudd-o.com/zfs/

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

14 years agobuild Debian package for Virtual NetworkManager from http://wiki.virtualsquare.org...
Dobrica Pavlinusic [Mon, 10 Aug 2009 23:41:43 +0000 (23:41 +0000)]
build Debian package for Virtual NetworkManager from wiki.virtualsquare.org/index.php/VirtualNetManager

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

14 years agoclone new upstream branch
Dobrica Pavlinusic [Mon, 10 Aug 2009 23:36:36 +0000 (23:36 +0000)]
clone new upstream branch

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

14 years agobuild iso from latest windows network guest drivers (virtio)
Dobrica Pavlinusic [Mon, 10 Aug 2009 22:10:26 +0000 (22:10 +0000)]
build iso from latest windows network guest drivers (virtio)

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

14 years agofew vde2 kvm hints from
Dobrica Pavlinusic [Sun, 26 Jul 2009 02:21:10 +0000 (02:21 +0000)]
few vde2 kvm hints from

http://faiwiki.informatik.uni-koeln.de/index.php/Local_testing_with_KVM%2C_VDE_and_dnsmasq

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

14 years agoreceive snapshot from other host using nc for low overhead
Dobrica Pavlinusic [Thu, 23 Jul 2009 23:26:34 +0000 (23:26 +0000)]
receive snapshot from other host using nc for low overhead

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

14 years agohints from https://wiki.ubuntu.com/ScreenCasts/GStreamer
Dobrica Pavlinusic [Fri, 17 Jul 2009 17:08:35 +0000 (17:08 +0000)]
hints from https://wiki.ubuntu.com/ScreenCasts/GStreamer

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

14 years agofixed multiple expiration rules by sorting them
Dobrica Pavlinusic [Thu, 9 Jul 2009 10:14:40 +0000 (10:14 +0000)]
fixed multiple expiration rules by sorting them

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

14 years agoadded multiple rules for each snapshot in backup
Dobrica Pavlinusic [Thu, 25 Jun 2009 11:07:26 +0000 (11:07 +0000)]
added multiple rules for each snapshot in backup

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

14 years agoiptables nat from 192.168.2.0/24 to wlan0 with masquarade
Dobrica Pavlinusic [Sun, 21 Jun 2009 18:34:00 +0000 (18:34 +0000)]
iptables nat from 192.168.2.0/24 to wlan0 with masquarade

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

14 years agoselect boot file
Dobrica Pavlinusic [Sun, 21 Jun 2009 18:32:25 +0000 (18:32 +0000)]
select boot file

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

14 years agodd_rescue don't like sync on stdin/stdout
Dobrica Pavlinusic [Thu, 18 Jun 2009 13:07:29 +0000 (13:07 +0000)]
dd_rescue don't like sync on stdin/stdout

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

14 years agosend snapshot using netcat with nice info using dd_rescue
Dobrica Pavlinusic [Thu, 18 Jun 2009 12:56:56 +0000 (12:56 +0000)]
send snapshot using netcat with nice info using dd_rescue

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

14 years agoadded IP and ve2lxc hostname to /etc/hosts
Dobrica Pavlinusic [Mon, 15 Jun 2009 20:22:52 +0000 (20:22 +0000)]
added IP and ve2lxc hostname to /etc/hosts

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

14 years agoadded gateway to lxc's /etc/network/interfaces
Dobrica Pavlinusic [Mon, 15 Jun 2009 20:22:04 +0000 (20:22 +0000)]
added gateway to lxc's /etc/network/interfaces

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

14 years agocopy /etc/resolv.conf from host system
Dobrica Pavlinusic [Mon, 15 Jun 2009 19:19:03 +0000 (19:19 +0000)]
copy /etc/resolv.conf from host system

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

14 years agouse configured veid all over
Dobrica Pavlinusic [Sat, 6 Jun 2009 16:57:37 +0000 (16:57 +0000)]
use configured veid all over

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

14 years agoexpire snapshots
Dobrica Pavlinusic [Sat, 6 Jun 2009 16:56:30 +0000 (16:56 +0000)]
expire snapshots

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

14 years agocalculate age of snapshot in days
Dobrica Pavlinusic [Sat, 6 Jun 2009 13:21:07 +0000 (13:21 +0000)]
calculate age of snapshot in days

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

15 years agouse testing netboot
Dobrica Pavlinusic [Sat, 30 May 2009 13:07:35 +0000 (13:07 +0000)]
use testing netboot

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

15 years agofix conf-dir directive activation
Dobrica Pavlinusic [Sat, 30 May 2009 13:07:12 +0000 (13:07 +0000)]
fix conf-dir directive activation

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

15 years agocreate /pool/backup/veid filesystem if it doesn't exist
Dobrica Pavlinusic [Sat, 30 May 2009 12:27:11 +0000 (12:27 +0000)]
create /pool/backup/veid filesystem if it doesn't exist

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

15 years agoadded xlax target to open terminals to each host in hosts using mkxlax
Dobrica Pavlinusic [Tue, 26 May 2009 16:52:10 +0000 (16:52 +0000)]
added xlax target to open terminals to each host in hosts using mkxlax

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

15 years agocreate gnuplot graphs based on http://oss.lzu.edu.cn/blog/article.php?tid_1204.html
Dobrica Pavlinusic [Mon, 25 May 2009 22:27:09 +0000 (22:27 +0000)]
create gnuplot graphs based on oss.lzu.edu.cn/blog/article.php?tid_1204.html

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

15 years agorule graph produce png graph
Dobrica Pavlinusic [Mon, 25 May 2009 22:11:35 +0000 (22:11 +0000)]
rule graph produce png graph

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

15 years agocreate graphviz dot file
Dobrica Pavlinusic [Mon, 25 May 2009 22:11:20 +0000 (22:11 +0000)]
create graphviz dot file

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

15 years agoparse last line of every */*.np file
Dobrica Pavlinusic [Mon, 25 May 2009 21:15:25 +0000 (21:15 +0000)]
parse last line of every */*.np file

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

15 years agocollect all /tmp/*.np files from hosts
Dobrica Pavlinusic [Mon, 25 May 2009 21:14:59 +0000 (21:14 +0000)]
collect all /tmp/*.np files from hosts

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

15 years agotest speed of network
Dobrica Pavlinusic [Mon, 25 May 2009 20:19:02 +0000 (20:19 +0000)]
test speed of network

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

15 years agocreate tftp boot enviroment from upstream debian netboot
Dobrica Pavlinusic [Sun, 24 May 2009 20:31:46 +0000 (20:31 +0000)]
create tftp boot enviroment from upstream debian netboot

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

15 years agoenable config-dir directive which looks for pxe configuration file
Dobrica Pavlinusic [Sun, 24 May 2009 19:58:29 +0000 (19:58 +0000)]
enable config-dir directive which looks for pxe configuration file

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

15 years agoconfigure dnsmasq for pxe boot
Dobrica Pavlinusic [Sun, 24 May 2009 19:58:06 +0000 (19:58 +0000)]
configure dnsmasq for pxe boot

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

15 years agoput template lxc configuration inside script itself
Dobrica Pavlinusic [Thu, 21 May 2009 15:55:27 +0000 (15:55 +0000)]
put template lxc configuration inside script itself
change /etc/hostname

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

15 years agoconfigure /etc/network/interfaces in new lxc container
Dobrica Pavlinusic [Thu, 21 May 2009 15:46:59 +0000 (15:46 +0000)]
configure /etc/network/interfaces in new lxc container

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

15 years agozpool also needs full path
Dobrica Pavlinusic [Tue, 19 May 2009 18:52:50 +0000 (18:52 +0000)]
zpool also needs full path

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

15 years agostart zfs-fuse on boot and mount filesystems
Dobrica Pavlinusic [Tue, 19 May 2009 18:28:14 +0000 (18:28 +0000)]
start zfs-fuse on boot and mount filesystems

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

15 years agooutput kernel messages to serial console with fallback to tty0
Dobrica Pavlinusic [Tue, 19 May 2009 17:56:59 +0000 (17:56 +0000)]
output kernel messages to serial console with fallback to tty0
insert grub directives at correct place in config, so we see
grub now over serial console (still no bios, ugh!)

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

15 years agofallback on normal tty0 console (?!) if no serial is found
Dobrica Pavlinusic [Mon, 18 May 2009 15:21:22 +0000 (15:21 +0000)]
fallback on normal tty0 console (?!) if no serial is found

Kernel doesn't have multiplexing, and while Internet claims that this
configuration will show boot messages on both VGA and serial, it doesn't
really work for me. Kernel will use *last* console parameter for /dev/console

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