pxelator
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

14 years agoimplement table header with negative witdh
Dobrica Pavlinusic [Thu, 6 Aug 2009 22:27:34 +0000 (22:27 +0000)]
implement table header with negative witdh

14 years agoand x11::xterm itself
Dobrica Pavlinusic [Thu, 6 Aug 2009 22:15:09 +0000 (22:15 +0000)]
and x11::xterm itself

14 years agocleanup and use x11::xterm
Dobrica Pavlinusic [Thu, 6 Aug 2009 22:11:02 +0000 (22:11 +0000)]
cleanup and use x11::xterm

14 years agoRegexp::Common. Test::More
Dobrica Pavlinusic [Thu, 6 Aug 2009 22:10:36 +0000 (22:10 +0000)]
Regexp::Common. Test::More

14 years agoextracted client::next_ip
Dobrica Pavlinusic [Thu, 6 Aug 2009 21:31:10 +0000 (21:31 +0000)]
extracted client::next_ip

14 years agocleaup output without debug
Dobrica Pavlinusic [Thu, 6 Aug 2009 20:14:43 +0000 (20:14 +0000)]
cleaup output without debug

14 years agoadded hostname
Dobrica Pavlinusic [Thu, 6 Aug 2009 18:55:51 +0000 (18:55 +0000)]
added hostname

14 years agodisplay client mac addresses
Dobrica Pavlinusic [Thu, 6 Aug 2009 18:51:57 +0000 (18:51 +0000)]
display client mac addresses

14 years agoread symlink destination istead of content
Dobrica Pavlinusic [Thu, 6 Aug 2009 18:43:55 +0000 (18:43 +0000)]
read symlink destination istead of content

14 years agouse google-chrome as browser
Dobrica Pavlinusic [Thu, 6 Aug 2009 18:24:58 +0000 (18:24 +0000)]
use google-chrome as browser

14 years agoimplement list of clients if accessing /client from server
Dobrica Pavlinusic [Thu, 6 Aug 2009 18:10:31 +0000 (18:10 +0000)]
implement list of clients if accessing /client from server
and enable changing of all client options

14 years agofix selected option
Dobrica Pavlinusic [Thu, 6 Aug 2009 18:09:30 +0000 (18:09 +0000)]
fix selected option

14 years agosend just requested dhcp options to clients except for server identifier
Dobrica Pavlinusic [Thu, 6 Aug 2009 18:09:17 +0000 (18:09 +0000)]
send just requested dhcp options to clients except for server identifier
which busybox udhcpc implementation requires but don't request

14 years agouse clinet::conf instead of server::shared
Dobrica Pavlinusic [Thu, 6 Aug 2009 15:40:42 +0000 (15:40 +0000)]
use clinet::conf instead of server::shared

14 years agostart each server individually and forget about screen
Dobrica Pavlinusic [Thu, 6 Aug 2009 15:36:13 +0000 (15:36 +0000)]
start each server individually and forget about screen
(since we run httpd as root now)

14 years agostart http server with sudo
Dobrica Pavlinusic [Thu, 6 Aug 2009 15:16:06 +0000 (15:16 +0000)]
start http server with sudo

14 years agoimplement client::conf to fetch/set (with default) client configuration
Dobrica Pavlinusic [Thu, 6 Aug 2009 15:15:53 +0000 (15:15 +0000)]
implement client::conf to fetch/set (with default) client configuration

14 years agouse uzbl if it exists or fallback to /etc/alternatives/x-www-browser
Dobrica Pavlinusic [Thu, 6 Aug 2009 15:15:23 +0000 (15:15 +0000)]
use uzbl if it exists or fallback to /etc/alternatives/x-www-browser

14 years agodeploy client configuration
Dobrica Pavlinusic [Wed, 5 Aug 2009 23:53:24 +0000 (23:53 +0000)]
deploy client configuration

14 years agoadded client hostname and deploy of configuration over web
Dobrica Pavlinusic [Wed, 5 Aug 2009 23:22:17 +0000 (23:22 +0000)]
added client hostname and deploy of configuration over web

14 years agouse $server::ip
Dobrica Pavlinusic [Wed, 5 Aug 2009 19:49:19 +0000 (19:49 +0000)]
use $server::ip

14 years agoconfigure network for webconverger
Dobrica Pavlinusic [Wed, 5 Aug 2009 19:48:58 +0000 (19:48 +0000)]
configure network for webconverger

14 years agoadded reverse lookup .in-addr.arpa PTR
Dobrica Pavlinusic [Wed, 5 Aug 2009 14:01:59 +0000 (14:01 +0000)]
added reverse lookup .in-addr.arpa PTR

14 years agosplit server status into own page, add menu to top and bottom
Dobrica Pavlinusic [Wed, 5 Aug 2009 13:25:55 +0000 (13:25 +0000)]
split server status into own page, add menu to top and bottom

14 years agoadded server::domain_name and use it
Dobrica Pavlinusic [Wed, 5 Aug 2009 13:25:19 +0000 (13:25 +0000)]
added server::domain_name and use it

14 years agoadded support for file mirroring (unused, probably broken)
Dobrica Pavlinusic [Wed, 5 Aug 2009 13:08:28 +0000 (13:08 +0000)]
added support for file mirroring (unused, probably broken)

14 years agofix conf/ip symlink creation, added nameservers and domain_name
Dobrica Pavlinusic [Wed, 5 Aug 2009 12:45:29 +0000 (12:45 +0000)]
fix conf/ip symlink creation, added nameservers and domain_name
to dhcp response

14 years agoadded tinycore
Dobrica Pavlinusic [Tue, 4 Aug 2009 18:36:07 +0000 (18:36 +0000)]
added tinycore

14 years agoadded MASQUERADE to vde network
Dobrica Pavlinusic [Tue, 4 Aug 2009 18:27:21 +0000 (18:27 +0000)]
added MASQUERADE to vde network

14 years agofetch webconverger from our httpd server
Dobrica Pavlinusic [Tue, 4 Aug 2009 18:20:45 +0000 (18:20 +0000)]
fetch webconverger from our httpd server

14 years agoadded debirf rescue
Dobrica Pavlinusic [Tue, 4 Aug 2009 18:05:49 +0000 (18:05 +0000)]
added debirf rescue

14 years agoall this code to add Reuse => 1 into udp listener, sigh!
Dobrica Pavlinusic [Tue, 4 Aug 2009 17:29:59 +0000 (17:29 +0000)]
all this code to add Reuse => 1 into udp listener, sigh!

14 years agofirst try to ifup tap0 and report suggestion if it fails
Dobrica Pavlinusic [Tue, 4 Aug 2009 17:16:11 +0000 (17:16 +0000)]
first try to ifup tap0 and report suggestion if it fails

14 years agocleanup
Dobrica Pavlinusic [Tue, 4 Aug 2009 16:35:26 +0000 (16:35 +0000)]
cleanup

14 years agoquite huge refactoring
Dobrica Pavlinusic [Tue, 4 Aug 2009 15:25:09 +0000 (15:25 +0000)]
quite huge refactoring

- config is now place to define client configuration
- upstream provide mirroring
- pxelinux creates per-client specific configurations
- various tweaks and cleanups

14 years agouups, renamed refresh back to server->refresh so we can call it
Dobrica Pavlinusic [Tue, 4 Aug 2009 13:31:06 +0000 (13:31 +0000)]
uups, renamed refresh back to server->refresh so we can call it

14 years agofix warning about undefined $pid
Dobrica Pavlinusic [Tue, 4 Aug 2009 13:30:47 +0000 (13:30 +0000)]
fix warning about undefined $pid

14 years agoimplement mirror and configuration creation for webconverger
Dobrica Pavlinusic [Tue, 4 Aug 2009 13:19:08 +0000 (13:19 +0000)]
implement mirror and configuration creation for webconverger

14 years agofix warning about refresh redefinition
Dobrica Pavlinusic [Tue, 4 Aug 2009 13:18:36 +0000 (13:18 +0000)]
fix warning about refresh redefinition