pxelator
14 years agomoved first_tile check to mount image if needed
Dobrica Pavlinusic [Wed, 19 Aug 2009 23:12:02 +0000 (23:12 +0000)]
moved first_tile check to mount image if needed

14 years agofirst semi-complicated setup to show off some of sysadmin DSL in PXElator
Dobrica Pavlinusic [Wed, 19 Aug 2009 22:48:54 +0000 (22:48 +0000)]
first semi-complicated setup to show off some of sysadmin DSL in PXElator

implement nfs root boot with writable snapshot directories for each
client which are rolled out on demand using aufs on server side.

So, client can implement additional layer of aufs if needed
(for /tmp and things like that) and offload more important files
(configuration changes) back to server via NFS.

14 years agoadded debian_mirror configuration variable with sensible default
Dobrica Pavlinusic [Wed, 19 Aug 2009 18:10:37 +0000 (18:10 +0000)]
added debian_mirror configuration variable with sensible default
(so you can use Apt-Cacher NG to provide local Debian mirror)
execute /tmp/configure.sh script after debootstrap

14 years agoadded favicon.ico
Dobrica Pavlinusic [Wed, 19 Aug 2009 18:08:23 +0000 (18:08 +0000)]
added favicon.ico

14 years agosemi-working nfsroot configuration
Dobrica Pavlinusic [Wed, 19 Aug 2009 17:01:57 +0000 (17:01 +0000)]
semi-working nfsroot configuration

14 years agodon't die without mac address (like flash proxy requests)
Dobrica Pavlinusic [Wed, 19 Aug 2009 17:01:20 +0000 (17:01 +0000)]
don't die without mac address (like flash proxy requests)

14 years agosupport for mirroring single file specified as url only
Dobrica Pavlinusic [Wed, 19 Aug 2009 17:00:46 +0000 (17:00 +0000)]
support for mirroring single file specified as url only

14 years agoadded ip::devices_up and use it for wireshark to offer sniffing targets
Dobrica Pavlinusic [Wed, 19 Aug 2009 12:46:07 +0000 (12:46 +0000)]
added ip::devices_up and use it for wireshark to offer sniffing targets

14 years agorefresh $package::debug from shared state on filesystem
Dobrica Pavlinusic [Wed, 19 Aug 2009 12:45:07 +0000 (12:45 +0000)]
refresh $package::debug from shared state on filesystem

14 years agodump amt data into audit log
Dobrica Pavlinusic [Wed, 19 Aug 2009 11:51:51 +0000 (11:51 +0000)]
dump amt data into audit log

14 years agouse client IP if it's not specified in amt file
Dobrica Pavlinusic [Wed, 19 Aug 2009 11:02:15 +0000 (11:02 +0000)]
use client IP if it's not specified in amt file
(assuming that AMT is on DHCP settings)

14 years agomove refresh after each request
Dobrica Pavlinusic [Wed, 19 Aug 2009 10:58:02 +0000 (10:58 +0000)]
move refresh after each request

14 years agorecord all dhcp request options in audit log
Dobrica Pavlinusic [Wed, 19 Aug 2009 10:56:04 +0000 (10:56 +0000)]
record all dhcp request options in audit log

14 years agocreate just one audit entry for each dns request
Dobrica Pavlinusic [Tue, 18 Aug 2009 22:02:11 +0000 (22:02 +0000)]
create just one audit entry for each dns request

14 years agodump full caller trace only with DEBUG enviroment set
Dobrica Pavlinusic [Tue, 18 Aug 2009 21:53:19 +0000 (21:53 +0000)]
dump full caller trace only with DEBUG enviroment set
fix sub name by extracting it from right caller

14 years agosplice part of caller output to useful one
Dobrica Pavlinusic [Tue, 18 Aug 2009 21:37:49 +0000 (21:37 +0000)]
splice part of caller output to useful one

14 years agoextract real coller and whole call stack
Dobrica Pavlinusic [Tue, 18 Aug 2009 21:30:55 +0000 (21:30 +0000)]
extract real coller and whole call stack

14 years agodon't push/pull dotfiles
Dobrica Pavlinusic [Tue, 18 Aug 2009 20:56:48 +0000 (20:56 +0000)]
don't push/pull dotfiles

14 years agoreally don't do mkdir if it exists
Dobrica Pavlinusic [Tue, 18 Aug 2009 14:31:56 +0000 (14:31 +0000)]
really don't do mkdir if it exists

14 years agomake push or make pull
Dobrica Pavlinusic [Tue, 18 Aug 2009 14:30:51 +0000 (14:30 +0000)]
make push or make pull

14 years agodon't push .svn directories
Dobrica Pavlinusic [Tue, 18 Aug 2009 14:30:06 +0000 (14:30 +0000)]
don't push .svn directories

14 years agomove debug to server tab
Dobrica Pavlinusic [Tue, 18 Aug 2009 12:46:41 +0000 (12:46 +0000)]
move debug to server tab

14 years agoexample CouchDB views
Dobrica Pavlinusic [Tue, 18 Aug 2009 12:19:52 +0000 (12:19 +0000)]
example CouchDB views

14 years agoand depdendency for it
Dobrica Pavlinusic [Tue, 18 Aug 2009 12:18:49 +0000 (12:18 +0000)]
and depdendency for it

14 years agoCouchDB view push/pull script
Dobrica Pavlinusic [Tue, 18 Aug 2009 12:18:39 +0000 (12:18 +0000)]
CouchDB view push/pull script

14 years agoadded grouping category to syslog
Dobrica Pavlinusic [Tue, 18 Aug 2009 08:57:47 +0000 (08:57 +0000)]
added grouping category to syslog

14 years agodon't create directory if it allready exists
Dobrica Pavlinusic [Mon, 17 Aug 2009 15:31:53 +0000 (15:31 +0000)]
don't create directory if it allready exists

14 years agocheck if process is running before killing it
Dobrica Pavlinusic [Mon, 17 Aug 2009 15:14:58 +0000 (15:14 +0000)]
check if process is running before killing it

14 years agocheck if client allready have ip address and if it does
Dobrica Pavlinusic [Mon, 17 Aug 2009 13:27:18 +0000 (13:27 +0000)]
check if client allready have ip address and if it does
don't respond to it unless it's in our ip range, but
record information for later review

14 years agobetter process messages and start/stop
Dobrica Pavlinusic [Mon, 17 Aug 2009 13:25:48 +0000 (13:25 +0000)]
better process messages and start/stop

14 years agofirst start without /tmp/pxelator.once doesn't die
Dobrica Pavlinusic [Mon, 17 Aug 2009 10:28:17 +0000 (10:28 +0000)]
first start without /tmp/pxelator.once doesn't die

14 years agoremoved svn:executable
Dobrica Pavlinusic [Mon, 17 Aug 2009 00:55:13 +0000 (00:55 +0000)]
removed svn:executable

14 years agostip package name from sub
Dobrica Pavlinusic [Mon, 17 Aug 2009 00:52:51 +0000 (00:52 +0000)]
stip package name from sub

14 years agosplit into start and message so we can reload code between
Dobrica Pavlinusic [Mon, 17 Aug 2009 00:51:24 +0000 (00:51 +0000)]
split into start and message so we can reload code between

14 years agoimprove parsing of syslog messages
Dobrica Pavlinusic [Mon, 17 Aug 2009 00:45:41 +0000 (00:45 +0000)]
improve parsing of syslog messages

14 years agoturn on syslog on client machines
Dobrica Pavlinusic [Mon, 17 Aug 2009 00:02:47 +0000 (00:02 +0000)]
turn on syslog on client machines

deploy with:

wget http://172.16.10.1:7777/deploy.sh
sh -x deploy.sh

14 years agofix url typo, must be same as name of the sub in config
Dobrica Pavlinusic [Sun, 16 Aug 2009 23:45:29 +0000 (23:45 +0000)]
fix url typo, must be same as name of the sub in config

14 years agorequire uml-utilities for tunctl
Dobrica Pavlinusic [Sun, 16 Aug 2009 23:32:47 +0000 (23:32 +0000)]
require uml-utilities for tunctl

14 years agoimplement Debian live and fix tests
Dobrica Pavlinusic [Sun, 16 Aug 2009 23:32:21 +0000 (23:32 +0000)]
implement Debian live and fix tests

14 years agoimplement first_time($identifier) with Storable
Dobrica Pavlinusic [Sun, 16 Aug 2009 23:31:30 +0000 (23:31 +0000)]
implement first_time($identifier) with Storable

14 years agocleanup audit start
Dobrica Pavlinusic [Sun, 16 Aug 2009 22:51:57 +0000 (22:51 +0000)]
cleanup audit start

14 years agoand start it
Dobrica Pavlinusic [Sun, 16 Aug 2009 22:24:22 +0000 (22:24 +0000)]
and start it

14 years agosimpliest possible syslog server
Dobrica Pavlinusic [Sun, 16 Aug 2009 22:23:55 +0000 (22:23 +0000)]
simpliest possible syslog server

14 years agouse kernel bridge (named virtual) instead of vde
Dobrica Pavlinusic [Sun, 16 Aug 2009 21:35:23 +0000 (21:35 +0000)]
use kernel bridge (named virtual) instead of vde

it's much faster, and we know all commands to use it :-)

14 years agowe really need to replace spaces in name
Dobrica Pavlinusic [Sun, 16 Aug 2009 21:27:39 +0000 (21:27 +0000)]
we really need to replace spaces in name

14 years agofix order of pid killing
Dobrica Pavlinusic [Sun, 16 Aug 2009 21:27:15 +0000 (21:27 +0000)]
fix order of pid killing

14 years agodon't create screenrc files with spaces in filename
Dobrica Pavlinusic [Sun, 16 Aug 2009 21:10:42 +0000 (21:10 +0000)]
don't create screenrc files with spaces in filename

14 years agosplit out wireshark as separate process from kvm
Dobrica Pavlinusic [Sun, 16 Aug 2009 00:03:30 +0000 (00:03 +0000)]
split out wireshark as separate process from kvm

implemented fork_if_active (for sub-processes) and fork_actions
which can be run without dependencies

14 years agoadded ip parser
Dobrica Pavlinusic [Sat, 15 Aug 2009 22:38:02 +0000 (22:38 +0000)]
added ip parser

14 years agodon't pass blessed objects
Dobrica Pavlinusic [Sat, 15 Aug 2009 14:41:33 +0000 (14:41 +0000)]
don't pass blessed objects

14 years agoshow also CouchDB database
Dobrica Pavlinusic [Sat, 15 Aug 2009 14:41:17 +0000 (14:41 +0000)]
show also CouchDB database

14 years agocleanup CouchDB API
Dobrica Pavlinusic [Sat, 15 Aug 2009 14:21:55 +0000 (14:21 +0000)]
cleanup CouchDB API

14 years agofix handling of non-existing configuration files and test it
Dobrica Pavlinusic [Sat, 15 Aug 2009 13:47:37 +0000 (13:47 +0000)]
fix handling of non-existing configuration files and test it

14 years agomkbasedir and conf_value which knows how to read symlinks from filesystem correctly
Dobrica Pavlinusic [Sat, 15 Aug 2009 13:44:13 +0000 (13:44 +0000)]
mkbasedir and conf_value which knows how to read symlinks from filesystem correctly

14 years agoadded dependency to couchdb for audit log
Dobrica Pavlinusic [Sat, 15 Aug 2009 13:10:14 +0000 (13:10 +0000)]
added dependency to couchdb for audit log

14 years agocleanup
Dobrica Pavlinusic [Thu, 13 Aug 2009 13:32:19 +0000 (13:32 +0000)]
cleanup

14 years agocleanup format::mac
Dobrica Pavlinusic [Thu, 13 Aug 2009 13:06:18 +0000 (13:06 +0000)]
cleanup format::mac

14 years agoadded Data::Structure::Util dependency
Dobrica Pavlinusic [Thu, 13 Aug 2009 12:45:30 +0000 (12:45 +0000)]
added Data::Structure::Util dependency

14 years agofix color allocation scheme
Dobrica Pavlinusic [Thu, 13 Aug 2009 12:42:46 +0000 (12:42 +0000)]
fix color allocation scheme

14 years agoextracted pretty printer into format.pm
Dobrica Pavlinusic [Thu, 13 Aug 2009 12:06:35 +0000 (12:06 +0000)]
extracted pretty printer into format.pm

14 years agoadded locale=hr to kernel append line for debian-live
Dobrica Pavlinusic [Thu, 13 Aug 2009 12:02:43 +0000 (12:02 +0000)]
added locale=hr to kernel append line for debian-live

14 years agosome work on logging format
Dobrica Pavlinusic [Thu, 13 Aug 2009 12:00:51 +0000 (12:00 +0000)]
some work on logging format

14 years agore-try put if newer version allready exists, unbless cloned data
Dobrica Pavlinusic [Thu, 13 Aug 2009 12:00:38 +0000 (12:00 +0000)]
re-try put if newer version allready exists, unbless cloned data

14 years agostrict removal only of command-line params
Dobrica Pavlinusic [Thu, 13 Aug 2009 00:06:48 +0000 (00:06 +0000)]
strict removal only of command-line params

14 years agocleanup logging a bit
Dobrica Pavlinusic [Wed, 12 Aug 2009 23:59:01 +0000 (23:59 +0000)]
cleanup logging a bit

14 years agofirst verision which boots virtual machine logging using new CouchDB::audit code
Dobrica Pavlinusic [Wed, 12 Aug 2009 22:56:45 +0000 (22:56 +0000)]
first verision which boots virtual machine logging using new CouchDB::audit code

it need some more work to make it less ugly (especially console output) and
less redundant/useful, but it's a start

14 years agobetter encode json and add some x_meta data
Dobrica Pavlinusic [Wed, 12 Aug 2009 22:27:57 +0000 (22:27 +0000)]
better encode json and add some x_meta data

14 years agosimple CouchDB API for storage and reporting
Dobrica Pavlinusic [Wed, 12 Aug 2009 19:49:36 +0000 (19:49 +0000)]
simple CouchDB API for storage and reporting

14 years agoadded shell execution and output parsing
Dobrica Pavlinusic [Wed, 12 Aug 2009 19:41:24 +0000 (19:41 +0000)]
added shell execution and output parsing

14 years agoping AMT address before trying to get SOAP response
Dobrica Pavlinusic [Wed, 12 Aug 2009 11:35:15 +0000 (11:35 +0000)]
ping AMT address before trying to get SOAP response

14 years agoreturn of the screen: log, scrollback buffers and remote access again!
Dobrica Pavlinusic [Wed, 12 Aug 2009 01:29:11 +0000 (01:29 +0000)]
return of the screen: log, scrollback buffers and remote access again!

14 years agotake hostname from dhcp request if it exists
Dobrica Pavlinusic [Tue, 11 Aug 2009 23:38:53 +0000 (23:38 +0000)]
take hostname from dhcp request if it exists

14 years agorefactor code to make clinet::change_ip which works
Dobrica Pavlinusic [Tue, 11 Aug 2009 15:55:26 +0000 (15:55 +0000)]
refactor code to make clinet::change_ip which works

14 years agorewrite ok and redirect headers into subs, allowing configurable url for redirect
Dobrica Pavlinusic [Tue, 11 Aug 2009 15:13:19 +0000 (15:13 +0000)]
rewrite ok and redirect headers into subs, allowing configurable url for redirect

14 years agocreate base conf/ip directory if it doesn't exist
Dobrica Pavlinusic [Tue, 11 Aug 2009 12:39:05 +0000 (12:39 +0000)]
create base conf/ip directory if it doesn't exist

14 years agoforce --yes to install of vde2
Dobrica Pavlinusic [Tue, 11 Aug 2009 12:38:23 +0000 (12:38 +0000)]
force --yes to install of vde2

14 years agodevice can now be first argument, stop dnsmasq if it exists
Dobrica Pavlinusic [Tue, 11 Aug 2009 12:38:04 +0000 (12:38 +0000)]
device can now be first argument, stop dnsmasq if it exists

14 years agoImport Net::TFTPd 0.04 so we don't depend on CPAN for deployment
Dobrica Pavlinusic [Tue, 11 Aug 2009 12:35:41 +0000 (12:35 +0000)]
Import Net::TFTPd 0.04 so we don't depend on CPAN for deployment

14 years agoadded client::ip_from_mac with database upgrade so that macs are now symlinks
Dobrica Pavlinusic [Mon, 10 Aug 2009 17:30:01 +0000 (17:30 +0000)]
added client::ip_from_mac with database upgrade so that macs are now symlinks

14 years agoshow mac as table
Dobrica Pavlinusic [Mon, 10 Aug 2009 16:36:16 +0000 (16:36 +0000)]
show mac as table

14 years agoshell script to wait for ctrl+c on exit
Dobrica Pavlinusic [Mon, 10 Aug 2009 12:31:38 +0000 (12:31 +0000)]
shell script to wait for ctrl+c on exit

14 years agouse Intel::AMT from /srv/Intel-AMT/lib/
Dobrica Pavlinusic [Mon, 10 Aug 2009 12:28:03 +0000 (12:28 +0000)]
use Intel::AMT from /srv/Intel-AMT/lib/

14 years agoadded arp table display
Dobrica Pavlinusic [Mon, 10 Aug 2009 00:07:38 +0000 (00:07 +0000)]
added arp table display

14 years agostart daemons first and then listen to recover from allready running httpd without...
Dobrica Pavlinusic [Sun, 9 Aug 2009 23:18:59 +0000 (23:18 +0000)]
start daemons first and then listen to recover from allready running httpd without any other windows

14 years agodisplay deployment options only if we saw mac from this ip
Dobrica Pavlinusic [Sun, 9 Aug 2009 22:05:09 +0000 (22:05 +0000)]
display deployment options only if we saw mac from this ip

14 years agofix empty strings highlight
Dobrica Pavlinusic [Sun, 9 Aug 2009 21:59:17 +0000 (21:59 +0000)]
fix empty strings highlight

14 years agodeduce IP adress from password in conf/server.ip/ip/client.ip/amt
Dobrica Pavlinusic [Sun, 9 Aug 2009 21:44:53 +0000 (21:44 +0000)]
deduce IP adress from password in conf/server.ip/ip/client.ip/amt

14 years agosplit daemons into own package
Dobrica Pavlinusic [Sun, 9 Aug 2009 21:13:36 +0000 (21:13 +0000)]
split daemons into own package

14 years agolet daemons create pid files, so we can adopt them if they are still alive (makes...
Dobrica Pavlinusic [Sun, 9 Aug 2009 20:46:00 +0000 (20:46 +0000)]
let daemons create pid files, so we can adopt them if they are still alive (makes httpd restartable)

14 years agoadded link to ip configuration
Dobrica Pavlinusic [Sun, 9 Aug 2009 19:26:38 +0000 (19:26 +0000)]
added link to ip configuration

14 years agofix aligment
Dobrica Pavlinusic [Sun, 9 Aug 2009 19:09:00 +0000 (19:09 +0000)]
fix aligment

14 years agoadded AMT settings based on Intel::AMT
Dobrica Pavlinusic [Sun, 9 Aug 2009 19:00:52 +0000 (19:00 +0000)]
added AMT settings based on Intel::AMT

14 years agoadded pre_dump
Dobrica Pavlinusic [Sun, 9 Aug 2009 18:56:04 +0000 (18:56 +0000)]
added pre_dump

14 years agoDEV=eth0 ./bin/start.sh
Dobrica Pavlinusic [Sun, 9 Aug 2009 16:37:46 +0000 (16:37 +0000)]
DEV=eth0 ./bin/start.sh

will not run PXElator on existing device eth0 without
touching tap0 or bringing kvm up

14 years agocleanup
Dobrica Pavlinusic [Sun, 9 Aug 2009 16:36:55 +0000 (16:36 +0000)]
cleanup

14 years agofix mac symlink creation
Dobrica Pavlinusic [Fri, 7 Aug 2009 14:08:21 +0000 (14:08 +0000)]
fix mac symlink creation

14 years agouse $server::ip to fetch squashfs image
Dobrica Pavlinusic [Fri, 7 Aug 2009 12:27:28 +0000 (12:27 +0000)]
use $server::ip to fetch squashfs image

14 years agodon't configure tap in ::ip isn't in 172. network
Dobrica Pavlinusic [Fri, 7 Aug 2009 12:26:49 +0000 (12:26 +0000)]
don't configure tap in ::ip isn't in 172. network

14 years agoanother dependency
Dobrica Pavlinusic [Fri, 7 Aug 2009 12:07:33 +0000 (12:07 +0000)]
another dependency

14 years agouse x11::xterm, detect existed processes, show clients in table
Dobrica Pavlinusic [Thu, 6 Aug 2009 22:29:58 +0000 (22:29 +0000)]
use x11::xterm, detect existed processes, show clients in table