/[pxelator]/lib
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Log of /lib

View Directory Listing Directory Listing


Sticky Revision:

Revision 570 - Directory Listing
Modified Sun May 25 08:49:40 2014 UTC (5 years, 2 months ago) by dpavlin
remove dependency on mongodb


Revision 568 - Directory Listing
Modified Tue Jun 26 20:53:25 2012 UTC (7 years, 1 month ago) by dpavlin
added 121

Revision 567 - Directory Listing
Modified Wed Nov 9 15:11:09 2011 UTC (7 years, 9 months ago) by dpavlin
use server.yaml as overlay instead of full replacement

Revision 566 - Directory Listing
Modified Wed Nov 9 11:58:27 2011 UTC (7 years, 9 months ago) by dpavlin
specify user-data-dir for google chrome since we run it as root

Revision 565 - Directory Listing
Modified Wed Nov 9 11:58:06 2011 UTC (7 years, 9 months ago) by dpavlin
use current-live debian images

Revision 564 - Directory Listing
Modified Wed Nov 9 11:51:18 2011 UTC (7 years, 9 months ago) by dpavlin
make MongoDB module optional

Revision 563 - Directory Listing
Modified Tue Sep 6 18:31:44 2011 UTC (7 years, 11 months ago) by dpavlin
use mac_path

Revision 562 - Directory Listing
Modified Tue Jul 19 12:11:17 2011 UTC (8 years, 1 month ago) by dpavlin
fix default_route_dev

Revision 561 - Directory Listing
Modified Tue Jul 19 11:52:21 2011 UTC (8 years, 1 month ago) by dpavlin
bind dns to $server::ip

Revision 560 - Directory Listing
Modified Sat Feb 12 14:54:42 2011 UTC (8 years, 6 months ago) by dpavlin
float munin graphs to left

Revision 559 - Directory Listing
Modified Sat Feb 12 14:47:00 2011 UTC (8 years, 6 months ago) by dpavlin
crop munin graphs

Revision 558 - Directory Listing
Modified Sat Feb 12 14:31:16 2011 UTC (8 years, 6 months ago) by dpavlin
remove proxy from katalog

Revision 557 - Directory Listing
Modified Thu Jan 13 09:53:45 2011 UTC (8 years, 7 months ago) by dpavlin
format ports


Revision 555 - Directory Listing
Modified Sun Nov 28 20:35:17 2010 UTC (8 years, 8 months ago) by dpavlin
added http_proxy for katalog


Revision 550 - Directory Listing
Modified Fri Oct 29 15:45:04 2010 UTC (8 years, 9 months ago) by dpavlin
added memtest

Revision 548 - Directory Listing
Modified Sat Oct 9 20:06:44 2010 UTC (8 years, 10 months ago) by dpavlin
ignore SIGCHLD

Revision 547 - Directory Listing
Modified Sat Oct 9 18:23:29 2010 UTC (8 years, 10 months ago) by dpavlin
extract nr from kvm.nr

Revision 546 - Directory Listing
Modified Sat Oct 9 15:28:42 2010 UTC (8 years, 10 months ago) by dpavlin
boot systemrescue 1.6.1

Revision 545 - Directory Listing
Modified Sat Oct 9 13:50:38 2010 UTC (8 years, 10 months ago) by dpavlin
added forking on each tftp request

this allows faster booting of multiple clients
at the same time


Revision 544 - Directory Listing
Modified Sat Oct 9 13:34:37 2010 UTC (8 years, 10 months ago) by dpavlin
shorter timeouts


Revision 543 - Directory Listing
Modified Sat Oct 9 12:38:00 2010 UTC (8 years, 10 months ago) by dpavlin
add params with config prefix if config exists

Revision 542 - Directory Listing
Modified Sat Oct 9 12:34:44 2010 UTC (8 years, 10 months ago) by dpavlin
send redirect after client params update

Revision 541 - Directory Listing
Modified Sat Oct 9 12:28:01 2010 UTC (8 years, 10 months ago) by dpavlin
skip directories in all_conf

Revision 540 - Directory Listing
Modified Sat Oct 9 12:25:41 2010 UTC (8 years, 10 months ago) by dpavlin
make all configuration specific values editable

all values which begin with configuraiton name
will be editable


Revision 539 - Directory Listing
Modified Sat Oct 9 12:14:28 2010 UTC (8 years, 10 months ago) by dpavlin
upgrade webconverger 5.5 -> 6.2

Revision 538 - Directory Listing
Modified Fri Sep 17 22:00:49 2010 UTC (8 years, 11 months ago) by dpavlin
workround for init=/bin/bash only on upstream images

if we remastered squashfs, using bin/squashfs-overlay.sh
then this isn't problem so we don't insert init


Revision 534 - Directory Listing
Modified Fri Sep 17 20:57:11 2010 UTC (8 years, 11 months ago) by dpavlin
upgrade debian live to current squeeze alpha2

this is fragile, and drops us into root propt to add user manually since it seems
that live-webhelper is broken at the moment and doesn't create user or autologin
on standard image

to continue booting use

exec /sbin/init 2

after chaning root password!


Revision 533 - Directory Listing
Modified Fri Sep 17 19:37:03 2010 UTC (8 years, 11 months ago) by dpavlin
display and return errors from configuration code

Revision 532 - Directory Listing
Modified Fri Sep 17 19:35:50 2010 UTC (8 years, 11 months ago) by dpavlin
document return values

Revision 531 - Directory Listing
Modified Fri Sep 17 18:51:36 2010 UTC (8 years, 11 months ago) by dpavlin
upgrade tinycore to 3.x-current

Revision 530 - Directory Listing
Modified Fri Sep 17 18:20:36 2010 UTC (8 years, 11 months ago) by dpavlin
fix broadcast extraction


Revision 528 - Directory Listing
Modified Fri Sep 17 17:31:54 2010 UTC (8 years, 11 months ago) by dpavlin
check if DEV is UP

Revision 527 - Directory Listing
Modified Fri Sep 17 17:18:30 2010 UTC (8 years, 11 months ago) by dpavlin
correctly configure ip, broadcast and netmask with DEV=eth0


Revision 526 - Directory Listing
Modified Mon Sep 13 19:37:13 2010 UTC (8 years, 11 months ago) by dpavlin
added DHO_DHCP_CLIENT_IDENTIFIER

Revision 525 - Directory Listing
Modified Mon Sep 13 18:26:05 2010 UTC (8 years, 11 months ago) by dpavlin
warn about files in ip/ dir

Revision 524 - Directory Listing
Modified Mon Sep 13 18:23:13 2010 UTC (8 years, 11 months ago) by dpavlin
boot Android 1.6 Donut

Revision 523 - Directory Listing
Modified Mon Sep 13 18:23:02 2010 UTC (8 years, 11 months ago) by dpavlin
return iso path

Revision 522 - Directory Listing
Modified Thu Aug 26 19:29:18 2010 UTC (8 years, 11 months ago) by dpavlin
move query generation into httpd code


Revision 521 - Directory Listing
Modified Thu Aug 26 19:27:49 2010 UTC (8 years, 11 months ago) by dpavlin
include munin graphs and generate link


Revision 520 - Directory Listing
Modified Tue Aug 24 13:02:01 2010 UTC (9 years ago) by dpavlin
upgrade vyatta to 6.1

Revision 519 - Directory Listing
Modified Tue Aug 24 11:44:06 2010 UTC (9 years ago) by dpavlin
added vyatta http://www.vyatta.org

Revision 518 - Directory Listing
Modified Wed Jul 21 19:01:46 2010 UTC (9 years, 1 month ago) by dpavlin
use DEV as bridge for kvm if specified


Revision 517 - Directory Listing
Modified Wed Jul 21 18:52:54 2010 UTC (9 years, 1 month ago) by dpavlin
force kvm.bin to qemu-system-i386 because memdisk doesn't work with kvm


Revision 516 - Directory Listing
Modified Wed Jul 21 18:50:47 2010 UTC (9 years, 1 month ago) by dpavlin
do everything once keyed on local file

this will force re-download of dependency if I changed path which seems
more resonable if I haven't moved file manually


Revision 515 - Directory Listing
Modified Wed Jul 21 18:33:37 2010 UTC (9 years, 1 month ago) by dpavlin
fix nr_from_mac which regex change broke into more solid split and hex


Revision 514 - Directory Listing
Modified Wed Jul 21 18:29:33 2010 UTC (9 years, 1 month ago) by dpavlin
show all clients in server dhcp range by default

Revision 513 - Directory Listing
Modified Wed Jul 21 17:56:42 2010 UTC (9 years, 1 month ago) by dpavlin
renamed configuration to memdisk, because FreeDOS is just default


Revision 512 - Directory Listing
Modified Wed Jul 21 17:50:32 2010 UTC (9 years, 1 month ago) by dpavlin
configure kvm.bin so we can call qemu-system-i386 if needed


Revision 511 - Directory Listing
Modified Wed Jul 21 16:50:27 2010 UTC (9 years, 1 month ago) by dpavlin
memdisk.image which can be specified as symlink into tftp dir


Revision 510 - Directory Listing
Modified Wed Jul 21 16:49:29 2010 UTC (9 years, 1 month ago) by dpavlin
symlinks now return location which they point to

This allows to specify configuration options, like
memdisk.image as simple symlinks directly to files


Revision 509 - Directory Listing
Modified Wed Jul 21 16:18:38 2010 UTC (9 years, 1 month ago) by dpavlin
don't open CouchDB tab

Revision 508 - Directory Listing
Modified Wed Jul 21 16:17:46 2010 UTC (9 years, 1 month ago) by dpavlin
check once in mirror_file so we can call it directly


Revision 507 - Directory Listing
Modified Wed Jul 21 15:50:46 2010 UTC (9 years, 1 month ago) by dpavlin
don't open CouchDB tab since we don't use it anymore


Revision 506 - Directory Listing
Modified Wed Jul 21 15:35:09 2010 UTC (9 years, 1 month ago) by dpavlin
added freedos (still non-working)

Revision 505 - Directory Listing
Modified Wed Jul 21 15:34:34 2010 UTC (9 years, 1 month ago) by dpavlin
work without mongodb available

Revision 504 - Directory Listing
Modified Fri Jul 16 21:30:30 2010 UTC (9 years, 1 month ago) by dpavlin
added conf/ip/1.2.3.4/kvm.boot for FreeNAS

just create kvm.boot file with following parameters:

d -cdrom /srv/pxelator/iso/FreeNAS-i386-LiveCD-0.7.2.5255.iso -hda /srv/pxelator/tftp/freenas.cqow2

which will modify produce -boot option for kvm
to boot from cdrom and install in persistant image



Revision 503 - Directory Listing
Modified Sat Jul 10 12:57:38 2010 UTC (9 years, 1 month ago) by dpavlin
added ubuntu

Revision 502 - Directory Listing
Modified Mon May 17 15:19:18 2010 UTC (9 years, 3 months ago) by dpavlin
fix masquarade device


Revision 501 - Directory Listing
Modified Mon May 3 15:38:16 2010 UTC (9 years, 3 months ago) by dpavlin
added clonezilla


Revision 500 - Directory Listing
Modified Mon May 3 15:15:08 2010 UTC (9 years, 3 months ago) by dpavlin
allow random junk after .iso

SourceForge has /download after filename


Revision 499 - Directory Listing
Modified Tue Feb 16 17:50:11 2010 UTC (9 years, 6 months ago) by dpavlin
re-run exportfs in nfsroot if not exported

Revision 498 - Directory Listing
Modified Mon Feb 1 14:40:18 2010 UTC (9 years, 6 months ago) by dpavlin
added kioskresetstation http://webconverger.org/blanking/

Revision 497 - Directory Listing
Modified Sun Jan 31 18:28:38 2010 UTC (9 years, 6 months ago) by dpavlin
remove messages from CRON


Revision 496 - Directory Listing
Modified Sun Jan 31 15:22:34 2010 UTC (9 years, 6 months ago) by dpavlin
added more link mongodb output


Revision 495 - Directory Listing
Modified Mon Jan 25 18:37:22 2010 UTC (9 years, 6 months ago) by dpavlin
auto-vivification fix for error

Modification of non-creatable hash value attempted, subscript "File" at /usr/share/perl5/Data/Dump.pm line 272

which is triggered by MongoDB perl driver


Revision 494 - Directory Listing
Modified Mon Jan 25 18:35:54 2010 UTC (9 years, 6 months ago) by dpavlin
Data::Dump 1.15

Revision 493 - Directory Listing
Modified Mon Jan 25 18:30:47 2010 UTC (9 years, 6 months ago) by dpavlin
nicely format latest entries in MongoDB


Revision 492 - Directory Listing
Modified Mon Jan 25 17:55:55 2010 UTC (9 years, 6 months ago) by dpavlin
remove debug output


Revision 491 - Directory Listing
Modified Sun Jan 24 11:56:30 2010 UTC (9 years, 6 months ago) by dpavlin
display table header from package keys


Revision 490 - Directory Listing
Modified Sat Jan 23 21:43:00 2010 UTC (9 years, 7 months ago) by dpavlin
expand dump on mouse hover


Revision 489 - Directory Listing
Modified Sat Jan 23 21:02:52 2010 UTC (9 years, 7 months ago) by dpavlin
zebra bars on table from MongoDB store


Revision 488 - Directory Listing
Modified Sat Jan 23 21:00:01 2010 UTC (9 years, 7 months ago) by dpavlin
remote all empty keys on which dump croaks


Revision 487 - Directory Listing
Modified Sat Jan 23 20:47:17 2010 UTC (9 years, 7 months ago) by dpavlin
simple and ugly viewer for store data


Revision 485 - Directory Listing
Modified Sat Jan 23 19:46:19 2010 UTC (9 years, 7 months ago) by dpavlin
store data in MongoDB


Revision 484 - Directory Listing
Modified Sat Jan 23 19:45:11 2010 UTC (9 years, 7 months ago) by dpavlin
stop using boolean package

Revision 483 - Directory Listing
Modified Sat Jan 23 18:58:18 2010 UTC (9 years, 7 months ago) by dpavlin
move common audit parts back into store


Revision 482 - Directory Listing
Modified Sat Jan 23 18:31:14 2010 UTC (9 years, 7 months ago) by dpavlin
use store::audit proxy all over the place


Revision 481 - Directory Listing
Modified Sat Jan 23 18:05:37 2010 UTC (9 years, 7 months ago) by dpavlin
abstract store with audit method


Revision 474 - Directory Listing
Modified Tue Jan 5 17:34:07 2010 UTC (9 years, 7 months ago) by dpavlin
display dev as fixed font


Revision 473 - Directory Listing
Modified Tue Jan 5 17:26:34 2010 UTC (9 years, 7 months ago) by dpavlin
create hostname for amt ips


Revision 472 - Directory Listing
Modified Tue Jan 5 00:25:34 2010 UTC (9 years, 7 months ago) by dpavlin
why are we trying to re-process request after error?!


Revision 471 - Directory Listing
Modified Tue Jan 5 00:07:35 2010 UTC (9 years, 7 months ago) by dpavlin
show just hosts in arp

toggle to view all with click on dev column


Revision 470 - Directory Listing
Modified Mon Jan 4 23:19:31 2010 UTC (9 years, 7 months ago) by dpavlin
propage $server HASH and $server_ip all over config


Revision 469 - Directory Listing
Modified Mon Jan 4 22:48:03 2010 UTC (9 years, 7 months ago) by dpavlin
fix default target name


Revision 468 - Directory Listing
Modified Mon Jan 4 22:45:56 2010 UTC (9 years, 7 months ago) by dpavlin
prompt and timeout in 3s


Revision 467 - Directory Listing
Modified Mon Jan 4 22:43:03 2010 UTC (9 years, 7 months ago) by dpavlin
default boot target from conf/


Revision 464 - Directory Listing
Modified Sun Jan 3 18:11:48 2010 UTC (9 years, 7 months ago) by dpavlin
added optional gw and dns in server.yaml

Revision 463 - Directory Listing
Modified Sun Jan 3 01:19:50 2010 UTC (9 years, 7 months ago) by dpavlin
added pxelinux::config_ip_boot

which can look up in boot/ directory and create pxelinux selection
of kernels and initrd.img


Revision 462 - Directory Listing
Modified Sun Jan 3 01:18:50 2010 UTC (9 years, 7 months ago) by dpavlin
send 512 byte packets to make Dell's RAC happy


Revision 461 - Directory Listing
Modified Sat Jan 2 22:55:33 2010 UTC (9 years, 7 months ago) by dpavlin
more work on nfsroot config

- configurable Debian distribution (lenny/sqeueeze
- always install linux-image-2.6-686
- optional old target for pxelinux


Revision 460 - Directory Listing
Modified Sat Jan 2 17:45:58 2010 UTC (9 years, 7 months ago) by dpavlin
nfsroot uses server::as_hash_for


Revision 459 - Directory Listing
Modified Sat Jan 2 17:45:31 2010 UTC (9 years, 7 months ago) by dpavlin
use server::as_hash_for to customize in_dhcp_range


Revision 458 - Directory Listing
Modified Sat Jan 2 17:45:02 2010 UTC (9 years, 7 months ago) by dpavlin
added rest of server vars


Revision 457 - Directory Listing
Modified Sat Jan 2 17:20:40 2010 UTC (9 years, 7 months ago) by dpavlin
added server::as_hash_for $ip to get server configuration
with local override from conf/ip/$ip/server.yaml


Revision 456 - Directory Listing
Modified Sat Jan 2 15:49:09 2010 UTC (9 years, 7 months ago) by dpavlin
force dhcp server configuration with dhcpd.pl


Revision 455 - Directory Listing
Modified Sat Jan 2 15:47:39 2010 UTC (9 years, 7 months ago) by dpavlin
chopm mac if entered in editor


Revision 450 - Directory Listing
Modified Fri Oct 2 10:23:56 2009 UTC (9 years, 10 months ago) by dpavlin
custom webconverger configuration

Revision 449 - Directory Listing
Modified Fri Oct 2 10:23:32 2009 UTC (9 years, 10 months ago) by dpavlin
fix messages

Revision 445 - Directory Listing
Modified Wed Sep 30 13:59:45 2009 UTC (9 years, 10 months ago) by dpavlin
added noprompt so we won't be asked to eject CD rom (sic!)


Revision 444 - Directory Listing
Modified Tue Sep 29 19:28:54 2009 UTC (9 years, 10 months ago) by dpavlin
make webconverger fetch configurable and move it to sub-directory


Revision 443 - Directory Listing
Modified Tue Sep 29 19:28:24 2009 UTC (9 years, 10 months ago) by dpavlin
support directories in client configuration directory to separate deploy options

Revision 441 - Directory Listing
Modified Mon Sep 28 13:34:58 2009 UTC (9 years, 10 months ago) by dpavlin
upgrade to Webconverger 5.5

Revision 439 - Directory Listing
Modified Sun Sep 20 16:12:03 2009 UTC (9 years, 11 months ago) by dpavlin
Create really working Linux Containers from filesystem directory and network setup


Revision 438 - Directory Listing
Modified Sun Sep 20 16:11:16 2009 UTC (9 years, 11 months ago) by dpavlin
fix non-debug verbosity

Revision 436 - Directory Listing
Modified Sun Sep 20 15:10:31 2009 UTC (9 years, 11 months ago) by dpavlin
create Linux container using lxc

Revision 435 - Directory Listing
Modified Wed Sep 16 00:48:53 2009 UTC (9 years, 11 months ago) by dpavlin
remove password from amt link title

Revision 434 - Directory Listing
Modified Wed Sep 16 00:47:47 2009 UTC (9 years, 11 months ago) by dpavlin
additional command for openvz introspection

Revision 433 - Directory Listing
Modified Mon Sep 14 21:11:23 2009 UTC (9 years, 11 months ago) by dpavlin
use just four targets: pids, server, couch and client
which allows us to nicely separate menu into partsi
which open in new tabs (just 4 of them)


Revision 431 - Directory Listing
Modified Mon Sep 14 13:44:42 2009 UTC (9 years, 11 months ago) by dpavlin
create CouchDB URL from our own so we respect Host: header


Revision 430 - Directory Listing
Modified Sun Sep 13 16:07:33 2009 UTC (9 years, 11 months ago) by dpavlin
without display just exec command


Revision 429 - Directory Listing
Modified Sun Sep 13 15:51:03 2009 UTC (9 years, 11 months ago) by dpavlin
use -vnc $server::ip:$nr as display in no $ENV{DISPLAY} is defined

Revision 428 - Directory Listing
Modified Sun Sep 13 10:53:41 2009 UTC (9 years, 11 months ago) by dpavlin
send dhcp response to network broadcast address


Revision 427 - Directory Listing
Modified Sun Sep 13 09:54:35 2009 UTC (9 years, 11 months ago) by dpavlin
show and edit broadcast

Revision 426 - Directory Listing
Modified Sun Sep 13 09:38:00 2009 UTC (9 years, 11 months ago) by dpavlin
really use ptr_cache and a_cache to answer local queries


Revision 425 - Directory Listing
Modified Sun Sep 13 09:18:19 2009 UTC (9 years, 11 months ago) by dpavlin
log every sent packet


Revision 424 - Directory Listing
Modified Sun Sep 13 09:10:46 2009 UTC (9 years, 11 months ago) by dpavlin
fix offer typo

Revision 423 - Directory Listing
Modified Sat Sep 12 22:18:34 2009 UTC (9 years, 11 months ago) by dpavlin
fix dhcp client address so we don't send nak any more when client allready
knows his ip address

create two element type which include message type from request and response


Revision 422 - Directory Listing
Modified Sat Sep 12 21:50:21 2009 UTC (9 years, 11 months ago) by dpavlin
no need to create CouchDB database manually
design-couch.pl will do it for us


Revision 421 - Directory Listing
Modified Fri Sep 11 11:22:40 2009 UTC (9 years, 11 months ago) by dpavlin
parse http headers and use Host: header to create our url

This allows usage from any IP adress on PXElator host and
usage over ssh tunnels (especially redirects)


Revision 420 - Directory Listing
Modified Thu Sep 10 13:57:44 2009 UTC (9 years, 11 months ago) by dpavlin
hush debug output

Revision 419 - Directory Listing
Modified Thu Sep 10 13:08:36 2009 UTC (9 years, 11 months ago) by dpavlin
don't overwrite title with  if it's not defined

Revision 418 - Directory Listing
Modified Wed Sep 9 19:57:58 2009 UTC (9 years, 11 months ago) by dpavlin
bind to all IP addresses and nost just $server::ip (insecure, but convinient

Revision 417 - Directory Listing
Modified Wed Sep 9 19:57:24 2009 UTC (9 years, 11 months ago) by dpavlin
push design documents into CouchDB

Revision 416 - Directory Listing
Modified Wed Sep 9 19:57:07 2009 UTC (9 years, 11 months ago) by dpavlin
fix spelling of netmask

Revision 414 - Directory Listing
Modified Wed Sep 9 18:58:48 2009 UTC (9 years, 11 months ago) by dpavlin
more installation dependencies and quick INSTALL section


Revision 413 - Directory Listing
Modified Wed Sep 9 14:27:02 2009 UTC (9 years, 11 months ago) by dpavlin
added ip::in_dhcp_range and use it


Revision 412 - Directory Listing
Modified Wed Sep 9 13:40:45 2009 UTC (9 years, 11 months ago) by dpavlin
don't save 0.0.0.0 ip

Revision 411 - Directory Listing
Modified Wed Sep 9 12:16:41 2009 UTC (9 years, 11 months ago) by dpavlin
add targets for menu links


Revision 410 - Directory Listing
Modified Wed Sep 9 10:48:59 2009 UTC (9 years, 11 months ago) by dpavlin
split tie scalar into package ties
(which should be called kravata in Croatian :-)


Revision 409 - Directory Listing
Modified Wed Sep 9 10:36:00 2009 UTC (9 years, 11 months ago) by dpavlin
don't allow $server::net_clients to go negative (sigh!)


Revision 408 - Directory Listing
Modified Wed Sep 9 10:13:08 2009 UTC (9 years, 11 months ago) by dpavlin
chomp tied variables

Revision 407 - Directory Listing
Modified Wed Sep 9 09:41:03 2009 UTC (9 years, 11 months ago) by dpavlin
move create new kvm link to new line

Revision 406 - Directory Listing
Modified Wed Sep 9 09:04:04 2009 UTC (9 years, 11 months ago) by dpavlin
autocreate_params to create kvm nr parametar from mac
add hostname or kvm nr to kvm window


Revision 405 - Directory Listing
Modified Tue Sep 8 21:06:40 2009 UTC (9 years, 11 months ago) by dpavlin
start next kvm

Revision 404 - Directory Listing
Modified Tue Sep 8 20:45:24 2009 UTC (9 years, 11 months ago) by dpavlin
start/stop kvm


Revision 403 - Directory Listing
Modified Tue Sep 8 20:38:26 2009 UTC (9 years, 11 months ago) by dpavlin
rebuild mac links

Revision 402 - Directory Listing
Modified Tue Sep 8 20:24:31 2009 UTC (9 years, 11 months ago) by dpavlin
don't fork static server for .ico

Revision 401 - Directory Listing
Modified Tue Sep 8 20:21:25 2009 UTC (9 years, 11 months ago) by dpavlin
add/remove interfaces (which are up) from bridge

Revision 400 - Directory Listing
Modified Tue Sep 8 18:28:15 2009 UTC (9 years, 11 months ago) by dpavlin
make server configuration editable using tied variables


Revision 399 - Directory Listing
Modified Tue Sep 8 18:09:01 2009 UTC (9 years, 11 months ago) by dpavlin
use $server::new_clients tie


Revision 398 - Directory Listing
Modified Tue Sep 8 17:30:47 2009 UTC (9 years, 11 months ago) by dpavlin
don't dump client %ENV

Revision 397 - Directory Listing
Modified Tue Sep 8 17:30:31 2009 UTC (9 years, 11 months ago) by dpavlin
fix test for new server configuration directory without ip

Revision 396 - Directory Listing
Modified Tue Sep 8 17:30:14 2009 UTC (9 years, 11 months ago) by dpavlin
track new_clients using tie


Revision 395 - Directory Listing
Modified Tue Sep 8 17:28:28 2009 UTC (9 years, 11 months ago) by dpavlin
really remove all client data

Revision 394 - Directory Listing
Modified Tue Sep 8 17:12:35 2009 UTC (9 years, 11 months ago) by dpavlin
remove server ip address from conf/


Revision 393 - Directory Listing
Modified Tue Sep 8 16:54:35 2009 UTC (9 years, 11 months ago) by dpavlin
first step towards configurable server (broken in it's current state)

- move configuration into tied variables using server::tie
- rename server::domain_name into server::domain


Revision 392 - Directory Listing
Modified Mon Sep 7 21:57:35 2009 UTC (9 years, 11 months ago) by dpavlin
fill enviroment nr when just calling methods on packages


Revision 391 - Directory Listing
Modified Mon Sep 7 21:53:45 2009 UTC (9 years, 11 months ago) by dpavlin
added new_clients shared server configuration directive
which contains number of new clients to accept


Revision 390 - Directory Listing
Modified Mon Sep 7 21:34:05 2009 UTC (9 years, 11 months ago) by dpavlin
implement multiple daemons startup using something like:

wget -O /dev/null --max-redirect=0 http://172.16.10.1:7777/start_stop/kvm?nr=1


Revision 389 - Directory Listing
Modified Mon Sep 7 15:43:55 2009 UTC (9 years, 11 months ago) by dpavlin
each configuration option is now div, with classes config and name of option

Revision 387 - Directory Listing
Modified Mon Sep 7 09:46:34 2009 UTC (9 years, 11 months ago) by dpavlin
don't install /etc/rsyslog.d/pxelator.conf if rsyslogd isn't installed

Revision 386 - Directory Listing
Modified Mon Aug 31 15:14:43 2009 UTC (9 years, 11 months ago) by dpavlin
don't display empty configuration options

Revision 385 - Directory Listing
Modified Sun Aug 30 22:46:57 2009 UTC (9 years, 11 months ago) by dpavlin
collect amt event logs

Revision 381 - Directory Listing
Modified Sun Aug 30 17:24:19 2009 UTC (9 years, 11 months ago) by dpavlin
store pings in couchdb

Revision 380 - Directory Listing
Modified Sun Aug 30 16:36:37 2009 UTC (9 years, 11 months ago) by dpavlin
seems like cleanup, but is really amt information improvement
especially power state


Revision 379 - Directory Listing
Modified Sun Aug 30 15:54:30 2009 UTC (9 years, 11 months ago) by dpavlin
implement resonable titles for pages

Revision 378 - Directory Listing
Modified Sun Aug 30 15:54:02 2009 UTC (9 years, 11 months ago) by dpavlin
display amt ip address as logon link

Revision 377 - Directory Listing
Modified Sun Aug 30 15:33:30 2009 UTC (9 years, 11 months ago) by dpavlin
fix power state decoding

Revision 376 - Directory Listing
Modified Sun Aug 30 15:22:41 2009 UTC (9 years, 11 months ago) by dpavlin
toggle power state using amt

Revision 366 - Directory Listing
Modified Sun Aug 30 11:45:59 2009 UTC (9 years, 11 months ago) by dpavlin
store in couch

Revision 363 - Directory Listing
Modified Sun Aug 30 11:20:18 2009 UTC (9 years, 11 months ago) by dpavlin
send local syslog messages to pxelator


Revision 362 - Directory Listing
Modified Sun Aug 30 10:38:13 2009 UTC (9 years, 11 months ago) by dpavlin
sort conf options in display

Revision 361 - Directory Listing
Modified Sun Aug 30 10:37:07 2009 UTC (9 years, 11 months ago) by dpavlin
remove newline from end of ssh key

Revision 358 - Directory Listing
Modified Sun Aug 30 10:29:40 2009 UTC (9 years, 11 months ago) by dpavlin
put all our caller information into package

Revision 357 - Directory Listing
Modified Sun Aug 30 10:19:44 2009 UTC (9 years, 11 months ago) by dpavlin
store requested path in path instead of file which will be
owerwriten with full path of package which created audit event


Revision 354 - Directory Listing
Modified Sat Aug 29 22:10:55 2009 UTC (9 years, 11 months ago) by dpavlin
display just part of ssh public key


Revision 353 - Directory Listing
Modified Sat Aug 29 22:10:37 2009 UTC (9 years, 11 months ago) by dpavlin
test ssh and make it work

Revision 351 - Directory Listing
Modified Sat Aug 29 21:10:21 2009 UTC (9 years, 11 months ago) by dpavlin
ssh-copy-id if needed and record output in CouchDB

Revision 350 - Directory Listing
Modified Sat Aug 29 21:09:55 2009 UTC (9 years, 11 months ago) by dpavlin
single target for openvz

Revision 349 - Directory Listing
Modified Sat Aug 29 20:41:17 2009 UTC (9 years, 11 months ago) by dpavlin
added few local port names

Revision 348 - Directory Listing
Modified Sat Aug 29 18:07:49 2009 UTC (9 years, 11 months ago) by dpavlin
execute shell commands over ssh for OpenVZ


Revision 347 - Directory Listing
Modified Sat Aug 29 17:03:35 2009 UTC (9 years, 11 months ago) by dpavlin
rename deploy to config to be same as package name which is invoked
one less reference to remember


Revision 346 - Directory Listing
Modified Sat Aug 29 16:51:07 2009 UTC (9 years, 11 months ago) by dpavlin
make selected configuration options for clients editable
or returned in table format


Revision 343 - Directory Listing
Modified Sat Aug 29 15:30:49 2009 UTC (9 years, 11 months ago) by dpavlin
another try at making everything two clicks away


Revision 337 - Directory Listing
Modified Sat Aug 29 12:55:34 2009 UTC (9 years, 11 months ago) by dpavlin
nicer scan result path /tmp/nmap.what, store scan result in CouchDB

Revision 336 - Directory Listing
Modified Sat Aug 29 00:07:00 2009 UTC (9 years, 11 months ago) by dpavlin
just warn about unreachable clients, but wrap our soap invocation in eval

Revision 335 - Directory Listing
Modified Sat Aug 29 00:06:32 2009 UTC (9 years, 11 months ago) by dpavlin
ping host and offer wake-on-lan if down

Revision 334 - Directory Listing
Modified Fri Aug 28 23:30:38 2009 UTC (9 years, 11 months ago) by dpavlin
cleanup client detection (again), added ping to single host


Revision 333 - Directory Listing
Modified Fri Aug 28 22:55:01 2009 UTC (9 years, 11 months ago) by dpavlin
better formatting of brctl output


Revision 332 - Directory Listing
Modified Fri Aug 28 22:51:45 2009 UTC (9 years, 11 months ago) by dpavlin
use client;

Revision 331 - Directory Listing
Modified Fri Aug 28 22:36:06 2009 UTC (9 years, 11 months ago) by dpavlin
fill-in hostnames from dns


Revision 330 - Directory Listing
Modified Fri Aug 28 22:29:08 2009 UTC (9 years, 11 months ago) by dpavlin
added fping to all hosts

Revision 329 - Directory Listing
Modified Fri Aug 28 21:55:41 2009 UTC (9 years, 11 months ago) by dpavlin
move refresh from arp into client


Revision 328 - Directory Listing
Modified Fri Aug 28 19:44:38 2009 UTC (9 years, 11 months ago) by dpavlin
correctly decode url escape -- should I move to real http server like Mojo?

Revision 327 - Directory Listing
Modified Fri Aug 28 19:41:16 2009 UTC (9 years, 11 months ago) by dpavlin
cleanup dev column from arp

Revision 326 - Directory Listing
Modified Fri Aug 28 19:39:54 2009 UTC (9 years, 11 months ago) by dpavlin
added remove button

Revision 325 - Directory Listing
Modified Fri Aug 28 19:36:36 2009 UTC (9 years, 11 months ago) by dpavlin
don't save invalid mac addresses

Revision 324 - Directory Listing
Modified Fri Aug 28 19:22:24 2009 UTC (9 years, 11 months ago) by dpavlin
save mac address on renew

Revision 323 - Directory Listing
Modified Fri Aug 28 18:51:43 2009 UTC (9 years, 11 months ago) by dpavlin
added remove and test change_ip

Revision 322 - Directory Listing
Modified Fri Aug 28 16:41:46 2009 UTC (9 years, 11 months ago) by dpavlin
refactored into client:all_ips


Revision 321 - Directory Listing
Modified Fri Aug 28 16:20:43 2009 UTC (9 years, 11 months ago) by dpavlin
move pids to directory


Revision 320 - Directory Listing
Modified Fri Aug 28 15:58:25 2009 UTC (9 years, 11 months ago) by dpavlin
hopefully, finally fixed editing of clients


Revision 319 - Directory Listing
Modified Fri Aug 28 12:34:10 2009 UTC (9 years, 11 months ago) by dpavlin
show edit mask just for machines which are within our range


Revision 318 - Directory Listing
Modified Thu Aug 27 20:01:29 2009 UTC (9 years, 11 months ago) by dpavlin
edit every address in our interface


Revision 317 - Directory Listing
Modified Thu Aug 27 20:00:30 2009 UTC (9 years, 11 months ago) by dpavlin
few more fake targets

Revision 316 - Directory Listing
Modified Thu Aug 27 19:58:56 2009 UTC (9 years, 11 months ago) by dpavlin
correctly pack/unpack into 32-bit number for marking etc.


Revision 315 - Directory Listing
Modified Thu Aug 27 19:58:18 2009 UTC (9 years, 11 months ago) by dpavlin
added empty option if none of them is selected


Revision 314 - Directory Listing
Modified Thu Aug 27 19:03:56 2009 UTC (9 years, 11 months ago) by dpavlin
arp visible clients are not integrated into table


Revision 313 - Directory Listing
Modified Thu Aug 27 18:59:12 2009 UTC (9 years, 11 months ago) by dpavlin
use upper case mac addresses separated by :

Revision 312 - Directory Listing
Modified Thu Aug 27 18:57:46 2009 UTC (9 years, 11 months ago) by dpavlin
we need to open ethernet tunnel as root, so check it


Revision 311 - Directory Listing
Modified Thu Aug 27 17:44:03 2009 UTC (9 years, 11 months ago) by dpavlin
added nmap scanning and discovery of network

Revision 310 - Directory Listing
Modified Thu Aug 27 17:43:05 2009 UTC (9 years, 11 months ago) by dpavlin
few more dummy deploy targets

Revision 309 - Directory Listing
Modified Thu Aug 27 16:47:42 2009 UTC (9 years, 11 months ago) by dpavlin
work a bit more on clients table layout

Revision 307 - Directory Listing
Modified Thu Aug 27 14:31:49 2009 UTC (9 years, 11 months ago) by dpavlin
added zebra stripes

Revision 306 - Directory Listing
Modified Thu Aug 27 14:31:15 2009 UTC (9 years, 11 months ago) by dpavlin
show configuration using clinet::all_conf

Revision 305 - Directory Listing
Modified Thu Aug 27 14:30:55 2009 UTC (9 years, 11 months ago) by dpavlin
added all_conf which return all configuration variables for single IP address


Revision 304 - Directory Listing
Modified Thu Aug 27 12:52:23 2009 UTC (9 years, 11 months ago) by dpavlin
sort by ip addresses


Revision 303 - Directory Listing
Modified Thu Aug 27 12:42:53 2009 UTC (9 years, 11 months ago) by dpavlin
columns ip, mac, hostname


Revision 299 - Directory Listing
Modified Wed Aug 26 15:59:19 2009 UTC (9 years, 11 months ago) by dpavlin
format humanly readable dates in url of document

Revision 297 - Directory Listing
Modified Wed Aug 26 12:43:47 2009 UTC (9 years, 11 months ago) by dpavlin
send wake-on-lan packet to network broadcast address
because machines which are off won't respond to arp
requests if we try to send to their's IP address directly


Revision 296 - Directory Listing
Modified Wed Aug 26 11:42:33 2009 UTC (9 years, 11 months ago) by dpavlin
power_up by IP or MAC

Revision 295 - Directory Listing
Modified Wed Aug 26 10:21:44 2009 UTC (9 years, 11 months ago) by dpavlin
skeleton for wake on lan


Revision 293 - Directory Listing
Modified Wed Aug 26 09:06:49 2009 UTC (9 years, 11 months ago) by dpavlin
deploy amt serial console from sysadmin cookbook

Revision 292 - Directory Listing
Modified Wed Aug 26 09:06:10 2009 UTC (9 years, 11 months ago) by dpavlin
keep permissions from original file

Revision 291 - Directory Listing
Modified Wed Aug 26 08:59:50 2009 UTC (9 years, 11 months ago) by dpavlin
test and fix mkdir

Revision 290 - Directory Listing
Modified Wed Aug 26 08:43:40 2009 UTC (9 years, 11 months ago) by dpavlin
added copy_once and modified append to understand exit in shell scripts and insert before it

Revision 289 - Directory Listing
Modified Tue Aug 25 17:39:28 2009 UTC (9 years, 11 months ago) by dpavlin
added serial port

Revision 288 - Directory Listing
Modified Tue Aug 25 17:09:52 2009 UTC (9 years, 11 months ago) by dpavlin
server::setup_from_dev will take configuration from existing device


Revision 287 - Directory Listing
Modified Tue Aug 25 17:09:12 2009 UTC (9 years, 11 months ago) by dpavlin
fix warning

Revision 286 - Directory Listing
Modified Tue Aug 25 15:00:20 2009 UTC (9 years, 11 months ago) by dpavlin
-e doesn't return true for symlinks, so -l is right thing


Revision 285 - Directory Listing
Modified Tue Aug 25 14:55:39 2009 UTC (9 years, 11 months ago) by dpavlin
don't deploy anything by default

Revision 284 - Directory Listing
Modified Mon Aug 24 22:04:39 2009 UTC (10 years ago) by dpavlin
show client setup just to... well clients within range

Revision 283 - Directory Listing
Modified Mon Aug 24 18:07:19 2009 UTC (10 years ago) by dpavlin
http://blog.rot13.org/2009/08/tap_magic_kvm_bridge_ssh_ethernet_tunnel.html

turned into simple package for pxelator... nice and simple
(runs same commands on both hosts :-)


Revision 281 - Directory Listing
Modified Sat Aug 22 13:51:33 2009 UTC (10 years ago) by dpavlin
spell check

Revision 280 - Directory Listing
Modified Sat Aug 22 11:50:57 2009 UTC (10 years ago) by dpavlin
wrote introduction chapter


Revision 278 - Directory Listing
Modified Thu Aug 20 19:44:19 2009 UTC (10 years ago) by dpavlin
added masquarade to default device and few helpers for that


Revision 277 - Directory Listing
Modified Thu Aug 20 19:00:13 2009 UTC (10 years ago) by dpavlin
put all customization above debootstrap into rw overlay
(aufs branch), record mounted variations correctly


Revision 276 - Directory Listing
Modified Thu Aug 20 17:36:17 2009 UTC (10 years ago) by dpavlin
extracted first_time into once package

Revision 275 - Directory Listing
Modified Thu Aug 20 17:35:44 2009 UTC (10 years ago) by dpavlin
use tag as identifier in url and strip path from it

Revision 273 - Directory Listing
Modified Wed Aug 19 23:12:18 2009 UTC (10 years ago) by dpavlin
cache response into $mounted

Revision 272 - Directory Listing
Modified Wed Aug 19 23:12:02 2009 UTC (10 years ago) by dpavlin
moved first_tile check to mount image if needed

Revision 271 - Directory Listing
Modified Wed Aug 19 22:48:54 2009 UTC (10 years ago) by dpavlin
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.


Revision 270 - Directory Listing
Modified Wed Aug 19 18:10:37 2009 UTC (10 years ago) by dpavlin
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


Revision 268 - Directory Listing
Modified Wed Aug 19 17:01:57 2009 UTC (10 years ago) by dpavlin
semi-working nfsroot configuration


Revision 267 - Directory Listing
Modified Wed Aug 19 17:01:20 2009 UTC (10 years ago) by dpavlin
don't die without mac address (like flash proxy requests)

Revision 266 - Directory Listing
Modified Wed Aug 19 17:00:46 2009 UTC (10 years ago) by dpavlin
support for mirroring single file specified as url only

Revision 265 - Directory Listing
Modified Wed Aug 19 12:46:07 2009 UTC (10 years ago) by dpavlin
added ip::devices_up and use it for wireshark to offer sniffing targets


Revision 264 - Directory Listing
Modified Wed Aug 19 12:45:07 2009 UTC (10 years ago) by dpavlin
refresh $package::debug from shared state on filesystem

Revision 263 - Directory Listing
Modified Wed Aug 19 11:51:51 2009 UTC (10 years ago) by dpavlin
dump amt data into audit log

Revision 262 - Directory Listing
Modified Wed Aug 19 11:02:15 2009 UTC (10 years ago) by dpavlin
use client IP if it's not specified in amt file
(assuming that AMT is on DHCP settings)


Revision 261 - Directory Listing
Modified Wed Aug 19 10:58:02 2009 UTC (10 years ago) by dpavlin
move refresh after each request

Revision 260 - Directory Listing
Modified Wed Aug 19 10:56:04 2009 UTC (10 years ago) by dpavlin
record all dhcp request options in audit log

Revision 259 - Directory Listing
Modified Tue Aug 18 22:02:11 2009 UTC (10 years ago) by dpavlin
create just one audit entry for each dns request

Revision 258 - Directory Listing
Modified Tue Aug 18 21:53:19 2009 UTC (10 years ago) by dpavlin
dump full caller trace only with DEBUG enviroment set
fix sub name by extracting it from right caller


Revision 257 - Directory Listing
Modified Tue Aug 18 21:37:49 2009 UTC (10 years ago) by dpavlin
splice part of caller output to useful one

Revision 256 - Directory Listing
Modified Tue Aug 18 21:30:55 2009 UTC (10 years ago) by dpavlin
extract real coller and whole call stack


Revision 254 - Directory Listing
Modified Tue Aug 18 14:31:56 2009 UTC (10 years ago) by dpavlin
really don't do mkdir if it exists

Revision 251 - Directory Listing
Modified Tue Aug 18 12:46:41 2009 UTC (10 years ago) by dpavlin
move debug to server tab

Revision 249 - Directory Listing
Modified Tue Aug 18 12:18:49 2009 UTC (10 years ago) by dpavlin
and depdendency for it

Revision 247 - Directory Listing
Modified Tue Aug 18 08:57:47 2009 UTC (10 years ago) by dpavlin
added grouping category to syslog

Revision 246 - Directory Listing
Modified Mon Aug 17 15:31:53 2009 UTC (10 years ago) by dpavlin
don't create directory if it allready exists

Revision 245 - Directory Listing
Modified Mon Aug 17 15:14:58 2009 UTC (10 years ago) by dpavlin
check if process is running before killing it

Revision 244 - Directory Listing
Modified Mon Aug 17 13:27:18 2009 UTC (10 years ago) by dpavlin
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


Revision 243 - Directory Listing
Modified Mon Aug 17 13:25:48 2009 UTC (10 years ago) by dpavlin
better process messages and start/stop

Revision 242 - Directory Listing
Modified Mon Aug 17 10:28:17 2009 UTC (10 years ago) by dpavlin
first start without /tmp/pxelator.once doesn't die

Revision 241 - Directory Listing
Modified Mon Aug 17 00:55:13 2009 UTC (10 years ago) by dpavlin
removed svn:executable

Revision 240 - Directory Listing
Modified Mon Aug 17 00:52:51 2009 UTC (10 years ago) by dpavlin
stip package name from sub

Revision 239 - Directory Listing
Modified Mon Aug 17 00:51:24 2009 UTC (10 years ago) by dpavlin
split into start and message so we can reload code between


Revision 238 - Directory Listing
Modified Mon Aug 17 00:45:41 2009 UTC (10 years ago) by dpavlin
improve parsing of syslog messages

Revision 236 - Directory Listing
Modified Sun Aug 16 23:45:29 2009 UTC (10 years ago) by dpavlin
fix url typo, must be same as name of the sub in config


Revision 234 - Directory Listing
Modified Sun Aug 16 23:32:21 2009 UTC (10 years ago) by dpavlin
implement Debian live and fix tests

Revision 233 - Directory Listing
Modified Sun Aug 16 23:31:30 2009 UTC (10 years ago) by dpavlin
implement first_time($identifier) with Storable

Revision 232 - Directory Listing
Modified Sun Aug 16 22:51:57 2009 UTC (10 years ago) by dpavlin
cleanup audit start

Revision 231 - Directory Listing
Modified Sun Aug 16 22:24:22 2009 UTC (10 years ago) by dpavlin
and start it

Revision 230 - Directory Listing
Modified Sun Aug 16 22:23:55 2009 UTC (10 years ago) by dpavlin
simpliest possible syslog server


Revision 229 - Directory Listing
Modified Sun Aug 16 21:35:23 2009 UTC (10 years ago) by dpavlin
use kernel bridge (named virtual) instead of vde

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


Revision 228 - Directory Listing
Modified Sun Aug 16 21:27:39 2009 UTC (10 years ago) by dpavlin
we really need to replace spaces in name

Revision 227 - Directory Listing
Modified Sun Aug 16 21:27:15 2009 UTC (10 years ago) by dpavlin
fix order of pid killing

Revision 226 - Directory Listing
Modified Sun Aug 16 21:10:42 2009 UTC (10 years ago) by dpavlin
don't create screenrc files with spaces in filename

Revision 225 - Directory Listing
Modified Sun Aug 16 00:03:30 2009 UTC (10 years ago) by dpavlin
split out wireshark as separate process from kvm

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


Revision 224 - Directory Listing
Modified Sat Aug 15 22:38:02 2009 UTC (10 years ago) by dpavlin
added ip parser


Revision 223 - Directory Listing
Modified Sat Aug 15 14:41:33 2009 UTC (10 years ago) by dpavlin
don't pass blessed objects

Revision 222 - Directory Listing
Modified Sat Aug 15 14:41:17 2009 UTC (10 years ago) by dpavlin
show also CouchDB database

Revision 221 - Directory Listing
Modified Sat Aug 15 14:21:55 2009 UTC (10 years ago) by dpavlin
cleanup CouchDB API

Revision 220 - Directory Listing
Modified Sat Aug 15 13:47:37 2009 UTC (10 years ago) by dpavlin
fix handling of non-existing configuration files and test it

Revision 219 - Directory Listing
Modified Sat Aug 15 13:44:13 2009 UTC (10 years ago) by dpavlin
mkbasedir and conf_value which knows how to read symlinks from filesystem correctly


Revision 217 - Directory Listing
Modified Thu Aug 13 13:32:19 2009 UTC (10 years ago) by dpavlin
cleanup

Revision 216 - Directory Listing
Modified Thu Aug 13 13:06:18 2009 UTC (10 years ago) by dpavlin
cleanup format::mac

Revision 214 - Directory Listing
Modified Thu Aug 13 12:42:46 2009 UTC (10 years ago) by dpavlin
fix color allocation scheme

Revision 213 - Directory Listing
Modified Thu Aug 13 12:06:35 2009 UTC (10 years ago) by dpavlin
extracted pretty printer into format.pm

Revision 212 - Directory Listing
Modified Thu Aug 13 12:02:43 2009 UTC (10 years ago) by dpavlin
added locale=hr to kernel append line for debian-live


Revision 211 - Directory Listing
Modified Thu Aug 13 12:00:51 2009 UTC (10 years ago) by dpavlin
some work on logging format


Revision 210 - Directory Listing
Modified Thu Aug 13 12:00:38 2009 UTC (10 years ago) by dpavlin
re-try put if newer version allready exists, unbless cloned data


Revision 209 - Directory Listing
Modified Thu Aug 13 00:06:48 2009 UTC (10 years ago) by dpavlin
strict removal only of command-line params


Revision 208 - Directory Listing
Modified Wed Aug 12 23:59:01 2009 UTC (10 years ago) by dpavlin
cleanup logging a bit


Revision 207 - Directory Listing
Modified Wed Aug 12 22:56:45 2009 UTC (10 years ago) by dpavlin
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


Revision 206 - Directory Listing
Modified Wed Aug 12 22:27:57 2009 UTC (10 years ago) by dpavlin
better encode json and add some x_meta data

Revision 205 - Directory Listing
Modified Wed Aug 12 19:49:36 2009 UTC (10 years ago) by dpavlin
simple CouchDB API for storage and reporting

Revision 204 - Directory Listing
Modified Wed Aug 12 19:41:24 2009 UTC (10 years ago) by dpavlin
added shell execution and output parsing

Revision 203 - Directory Listing
Modified Wed Aug 12 11:35:15 2009 UTC (10 years ago) by dpavlin
ping AMT address before trying to get SOAP response

Revision 202 - Directory Listing
Modified Wed Aug 12 01:29:11 2009 UTC (10 years ago) by dpavlin
return of the screen: log, scrollback buffers and remote access again!


Revision 201 - Directory Listing
Modified Tue Aug 11 23:38:53 2009 UTC (10 years ago) by dpavlin
take hostname from dhcp request if it exists

Revision 200 - Directory Listing
Modified Tue Aug 11 15:55:26 2009 UTC (10 years ago) by dpavlin
refactor code to make clinet::change_ip which works

Revision 199 - Directory Listing
Modified Tue Aug 11 15:13:19 2009 UTC (10 years ago) by dpavlin
rewrite ok and redirect headers into subs, allowing configurable url for redirect


Revision 198 - Directory Listing
Modified Tue Aug 11 12:39:05 2009 UTC (10 years ago) by dpavlin
create base conf/ip directory if it doesn't exist

Revision 197 - Directory Listing
Modified Tue Aug 11 12:38:23 2009 UTC (10 years ago) by dpavlin
force --yes to install of vde2

Revision 195 - Directory Listing
Modified Tue Aug 11 12:35:41 2009 UTC (10 years ago) by dpavlin
Import Net::TFTPd 0.04 so we don't depend on CPAN for deployment

Revision 194 - Directory Listing
Modified Mon Aug 10 17:30:01 2009 UTC (10 years ago) by dpavlin
added client::ip_from_mac with database upgrade so that macs are now symlinks

Revision 193 - Directory Listing
Modified Mon Aug 10 16:36:16 2009 UTC (10 years ago) by dpavlin
show mac as table

Revision 191 - Directory Listing
Modified Mon Aug 10 12:28:03 2009 UTC (10 years ago) by dpavlin
use Intel::AMT from /srv/Intel-AMT/lib/


Revision 190 - Directory Listing
Modified Mon Aug 10 00:07:38 2009 UTC (10 years ago) by dpavlin
added arp table display

Revision 189 - Directory Listing
Modified Sun Aug 9 23:18:59 2009 UTC (10 years ago) by dpavlin
start daemons first and then listen to recover from allready running httpd without any other windows

Revision 188 - Directory Listing
Modified Sun Aug 9 22:05:09 2009 UTC (10 years ago) by dpavlin
display deployment options only if we saw mac from this ip

Revision 187 - Directory Listing
Modified Sun Aug 9 21:59:17 2009 UTC (10 years ago) by dpavlin
fix empty strings highlight


Revision 186 - Directory Listing
Modified Sun Aug 9 21:44:53 2009 UTC (10 years ago) by dpavlin
deduce IP adress from password in conf/server.ip/ip/client.ip/amt


Revision 185 - Directory Listing
Modified Sun Aug 9 21:13:36 2009 UTC (10 years ago) by dpavlin
split daemons into own package

Revision 184 - Directory Listing
Modified Sun Aug 9 20:46:00 2009 UTC (10 years ago) by dpavlin
let daemons create pid files, so we can adopt them if they are still alive (makes httpd restartable)

Revision 183 - Directory Listing
Modified Sun Aug 9 19:26:38 2009 UTC (10 years ago) by dpavlin
added link to ip configuration

Revision 182 - Directory Listing
Modified Sun Aug 9 19:09:00 2009 UTC (10 years ago) by dpavlin
fix aligment

Revision 181 - Directory Listing
Modified Sun Aug 9 19:00:52 2009 UTC (10 years ago) by dpavlin
added AMT settings based on Intel::AMT

Revision 180 - Directory Listing
Modified Sun Aug 9 18:56:04 2009 UTC (10 years ago) by dpavlin
added pre_dump

Revision 179 - Directory Listing
Modified Sun Aug 9 16:37:46 2009 UTC (10 years ago) by dpavlin
DEV=eth0 ./bin/start.sh

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


Revision 177 - Directory Listing
Modified Fri Aug 7 14:08:21 2009 UTC (10 years ago) by dpavlin
fix mac symlink creation

Revision 176 - Directory Listing
Modified Fri Aug 7 12:27:28 2009 UTC (10 years ago) by dpavlin
use $server::ip to fetch squashfs image


Revision 175 - Directory Listing
Modified Fri Aug 7 12:26:49 2009 UTC (10 years ago) by dpavlin
don't configure tap in ::ip isn't in 172. network

Revision 173 - Directory Listing
Modified Thu Aug 6 22:29:58 2009 UTC (10 years ago) by dpavlin
use x11::xterm, detect existed processes, show clients in table


Revision 172 - Directory Listing
Modified Thu Aug 6 22:27:34 2009 UTC (10 years ago) by dpavlin
implement table header with negative witdh

Revision 171 - Directory Listing
Modified Thu Aug 6 22:15:09 2009 UTC (10 years ago) by dpavlin
and x11::xterm itself

Revision 170 - Directory Listing
Modified Thu Aug 6 22:11:02 2009 UTC (10 years ago) by dpavlin
cleanup and use x11::xterm

Revision 168 - Directory Listing
Modified Thu Aug 6 21:31:10 2009 UTC (10 years ago) by dpavlin
extracted client::next_ip

Revision 167 - Directory Listing
Modified Thu Aug 6 20:14:43 2009 UTC (10 years ago) by dpavlin
cleaup output without debug

Revision 166 - Directory Listing
Modified Thu Aug 6 18:55:51 2009 UTC (10 years ago) by dpavlin
added hostname

Revision 165 - Directory Listing
Modified Thu Aug 6 18:51:57 2009 UTC (10 years ago) by dpavlin
display client mac addresses

Revision 164 - Directory Listing
Modified Thu Aug 6 18:43:55 2009 UTC (10 years ago) by dpavlin
read symlink destination istead of content


Revision 163 - Directory Listing
Modified Thu Aug 6 18:24:58 2009 UTC (10 years ago) by dpavlin
use google-chrome as browser

Revision 162 - Directory Listing
Modified Thu Aug 6 18:10:31 2009 UTC (10 years ago) by dpavlin
implement list of clients if accessing /client from server
and enable changing of all client options


Revision 161 - Directory Listing
Modified Thu Aug 6 18:09:30 2009 UTC (10 years ago) by dpavlin
fix selected option

Revision 160 - Directory Listing
Modified Thu Aug 6 18:09:17 2009 UTC (10 years ago) by dpavlin
send just requested dhcp options to clients except for server identifier
which busybox udhcpc implementation requires but don't request


Revision 159 - Directory Listing
Modified Thu Aug 6 15:40:42 2009 UTC (10 years ago) by dpavlin
use clinet::conf instead of server::shared

Revision 158 - Directory Listing
Modified Thu Aug 6 15:36:13 2009 UTC (10 years ago) by dpavlin
start each server individually and forget about screen
(since we run httpd as root now)


Revision 156 - Directory Listing
Modified Thu Aug 6 15:15:53 2009 UTC (10 years ago) by dpavlin
implement client::conf to fetch/set (with default) client configuration


Revision 155 - Directory Listing
Modified Thu Aug 6 15:15:23 2009 UTC (10 years ago) by dpavlin
use uzbl if it exists or fallback to /etc/alternatives/x-www-browser


Revision 154 - Directory Listing
Modified Wed Aug 5 23:53:24 2009 UTC (10 years ago) by dpavlin
deploy client configuration


Revision 153 - Directory Listing
Modified Wed Aug 5 23:22:17 2009 UTC (10 years ago) by dpavlin
added client hostname and deploy of configuration over web

Revision 152 - Directory Listing
Modified Wed Aug 5 19:49:19 2009 UTC (10 years ago) by dpavlin
use $server::ip

Revision 151 - Directory Listing
Modified Wed Aug 5 19:48:58 2009 UTC (10 years ago) by dpavlin
configure network for webconverger

Revision 150 - Directory Listing
Modified Wed Aug 5 14:01:59 2009 UTC (10 years ago) by dpavlin
added reverse lookup .in-addr.arpa PTR


Revision 149 - Directory Listing
Modified Wed Aug 5 13:25:55 2009 UTC (10 years ago) by dpavlin
split server status into own page, add menu to top and bottom

Revision 148 - Directory Listing
Modified Wed Aug 5 13:25:19 2009 UTC (10 years ago) by dpavlin
added server::domain_name and use it

Revision 147 - Directory Listing
Modified Wed Aug 5 13:08:28 2009 UTC (10 years ago) by dpavlin
added support for file mirroring (unused, probably broken)

Revision 146 - Directory Listing
Modified Wed Aug 5 12:45:29 2009 UTC (10 years ago) by dpavlin
fix conf/ip symlink creation, added nameservers and domain_name
to dhcp response


Revision 145 - Directory Listing
Modified Tue Aug 4 18:36:07 2009 UTC (10 years ago) by dpavlin
added tinycore

Revision 144 - Directory Listing
Modified Tue Aug 4 18:27:21 2009 UTC (10 years ago) by dpavlin
added MASQUERADE to vde network

Revision 143 - Directory Listing
Modified Tue Aug 4 18:20:45 2009 UTC (10 years ago) by dpavlin
fetch webconverger from our httpd server

Revision 142 - Directory Listing
Modified Tue Aug 4 18:05:49 2009 UTC (10 years ago) by dpavlin
added debirf rescue


Revision 141 - Directory Listing
Modified Tue Aug 4 17:29:59 2009 UTC (10 years ago) by dpavlin
all this code to add Reuse => 1 into udp listener, sigh!

Revision 140 - Directory Listing
Modified Tue Aug 4 17:16:11 2009 UTC (10 years ago) by dpavlin
first try to ifup tap0 and report suggestion if it fails

Revision 138 - Directory Listing
Modified Tue Aug 4 15:25:09 2009 UTC (10 years ago) by dpavlin
quite huge refactoring

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


Revision 137 - Directory Listing
Modified Tue Aug 4 13:31:06 2009 UTC (10 years ago) by dpavlin
uups, renamed refresh back to server->refresh so we can call it


Revision 136 - Directory Listing
Modified Tue Aug 4 13:30:47 2009 UTC (10 years ago) by dpavlin
fix warning about undefined $pid


Revision 135 - Directory Listing
Modified Tue Aug 4 13:19:08 2009 UTC (10 years ago) by dpavlin
implement mirror and configuration creation for webconverger


Revision 134 - Directory Listing
Modified Tue Aug 4 13:18:36 2009 UTC (10 years ago) by dpavlin
fix warning about refresh redefinition

Revision 131 - Directory Listing
Modified Mon Aug 3 20:59:35 2009 UTC (10 years ago) by dpavlin
move base dir

Revision 130 - Directory Listing
Modified Mon Aug 3 20:59:23 2009 UTC (10 years ago) by dpavlin
don't insert tap0 twice in /etc/network/interfaces


Revision 129 - Directory Listing
Modified Mon Aug 3 20:53:46 2009 UTC (10 years ago) by dpavlin
split out pxelinux config in own package and implement webconverger


Revision 128 - Directory Listing
Modified Mon Aug 3 19:59:08 2009 UTC (10 years ago) by dpavlin
added back refresh, this time in as server->refresh


Revision 126 - Directory Listing
Modified Mon Aug 3 15:06:36 2009 UTC (10 years ago) by dpavlin
start dnsd


Revision 125 - Directory Listing
Modified Mon Aug 3 15:06:23 2009 UTC (10 years ago) by dpavlin
implement resolver for queries which we don't handle


Revision 124 - Directory Listing
Modified Mon Aug 3 12:19:22 2009 UTC (10 years ago) by dpavlin
removed timestamp based on ALARM

Revision 122 - Directory Listing
Modified Mon Aug 3 08:57:59 2009 UTC (10 years ago) by dpavlin
skeleton of DNS server from Net::DNS::Nameserver


Revision 120 - Directory Listing
Modified Mon Aug 3 08:54:23 2009 UTC (10 years ago) by dpavlin
don't return error if there isn't any (it gets triggered by ALARM)


Revision 119 - Directory Listing
Modified Mon Aug 3 08:53:47 2009 UTC (10 years ago) by dpavlin
import Net::TFTPd for local modifications


Revision 118 - Directory Listing
Modified Mon Aug 3 08:52:32 2009 UTC (10 years ago) by dpavlin
added timestamp and moved Module::Refresh->refresh into server


Revision 115 - Directory Listing
Modified Sun Aug 2 12:09:02 2009 UTC (10 years ago) by dpavlin
implement common (and correct) progress_bar for tftpd and httpd


Revision 114 - Directory Listing
Modified Sun Aug 2 03:31:39 2009 UTC (10 years ago) by dpavlin
added pxelinux dhcp options documented at http://tools.ietf.org/html/draft-ietf-dhc-pxelinux-03

Revision 111 - Directory Listing
Modified Sun Aug 2 02:20:24 2009 UTC (10 years ago) by dpavlin
start wireshark on tap0


Revision 110 - Directory Listing
Modified Sun Aug 2 02:04:00 2009 UTC (10 years ago) by dpavlin
cleanup $file and move it to dhcpd, added config::ip_for to refresh it

Revision 109 - Directory Listing
Modified Sun Aug 2 01:23:05 2009 UTC (10 years ago) by dpavlin
renamed logs


Revision 107 - Directory Listing
Modified Sat Aug 1 00:44:52 2009 UTC (10 years ago) by dpavlin
flush data to client and display estimated time to finish

Revision 105 - Directory Listing
Modified Fri Jul 31 23:22:05 2009 UTC (10 years ago) by dpavlin
better download progress with estimated time

Revision 104 - Directory Listing
Modified Fri Jul 31 22:52:22 2009 UTC (10 years ago) by dpavlin
display download speed

Revision 103 - Directory Listing
Modified Fri Jul 31 22:52:04 2009 UTC (10 years ago) by dpavlin
mirror upstream requirements for Debian live

Revision 102 - Directory Listing
Modified Fri Jul 31 22:36:06 2009 UTC (10 years ago) by dpavlin
mirror upstream Debian live

Revision 100 - Directory Listing
Modified Fri Jul 31 21:42:28 2009 UTC (10 years ago) by dpavlin
use local bin/uzbl

Revision 99 - Directory Listing
Modified Fri Jul 31 21:42:10 2009 UTC (10 years ago) by dpavlin
update /etc/network/interfaces as root, add user to vde2-net group

Revision 96 - Directory Listing
Modified Fri Jul 31 20:45:09 2009 UTC (10 years ago) by dpavlin
flush socket to client and set block to 1400 bytes so we don't fragment
TCP packets because pxelinux hangs sometimes, cleanup output


Revision 95 - Directory Listing
Modified Fri Jul 31 20:08:06 2009 UTC (10 years ago) by dpavlin
be less chatty without debug


Revision 94 - Directory Listing
Modified Fri Jul 31 20:07:53 2009 UTC (10 years ago) by dpavlin
cleanup output


Revision 93 - Directory Listing
Modified Fri Jul 31 19:59:28 2009 UTC (10 years ago) by dpavlin
much better output


Revision 92 - Directory Listing
Modified Fri Jul 31 19:42:29 2009 UTC (10 years ago) by dpavlin
activate window

Revision 91 - Directory Listing
Modified Fri Jul 31 18:48:29 2009 UTC (10 years ago) by dpavlin
added clean completed downloads

Revision 90 - Directory Listing
Modified Fri Jul 31 18:26:37 2009 UTC (10 years ago) by dpavlin
color xterms


Revision 89 - Directory Listing
Modified Fri Jul 31 18:26:28 2009 UTC (10 years ago) by dpavlin
fix REST API for /start_stop/ change


Revision 88 - Directory Listing
Modified Fri Jul 31 18:16:14 2009 UTC (10 years ago) by dpavlin
code cleanup

- rename start_options to start_fork to better describe what it does
- implemented actions which can be called directly from web
- /start_stop REST API correction


Revision 87 - Directory Listing
Modified Fri Jul 31 17:43:38 2009 UTC (10 years ago) by dpavlin
sort processes by name


Revision 86 - Directory Listing
Modified Fri Jul 31 17:41:19 2009 UTC (10 years ago) by dpavlin
fixed kill


Revision 85 - Directory Listing
Modified Fri Jul 31 17:35:30 2009 UTC (10 years ago) by dpavlin
report tap status


Revision 84 - Directory Listing
Modified Fri Jul 31 17:35:20 2009 UTC (10 years ago) by dpavlin
if interface is up, just change IP address


Revision 83 - Directory Listing
Modified Fri Jul 31 17:12:52 2009 UTC (10 years ago) by dpavlin
split ifconfig out and return resonable status


Revision 82 - Directory Listing
Modified Fri Jul 31 17:07:39 2009 UTC (10 years ago) by dpavlin
split network setup into own package and fixed it (tests help :-)


Revision 81 - Directory Listing
Modified Fri Jul 31 16:47:52 2009 UTC (10 years ago) by dpavlin
provide interface to all methods which are defined inside start_options


Revision 80 - Directory Listing
Modified Fri Jul 31 16:47:15 2009 UTC (10 years ago) by dpavlin
move monitor to tcp/ip port


Revision 79 - Directory Listing
Modified Fri Jul 31 14:51:19 2009 UTC (10 years ago) by dpavlin
don't actually *start* browser in test


Revision 78 - Directory Listing
Modified Fri Jul 31 14:43:30 2009 UTC (10 years ago) by dpavlin
move more output to debug

Revision 77 - Directory Listing
Modified Fri Jul 31 14:42:45 2009 UTC (10 years ago) by dpavlin
kill using pstree from children to parent

Revision 76 - Directory Listing
Modified Fri Jul 31 13:54:07 2009 UTC (10 years ago) by dpavlin
display pos only with debug


Revision 75 - Directory Listing
Modified Fri Jul 31 13:22:45 2009 UTC (10 years ago) by dpavlin
fix debug default value


Revision 74 - Directory Listing
Modified Fri Jul 31 13:16:11 2009 UTC (10 years ago) by dpavlin
move shared (between processes) configuration files into own package


Revision 72 - Directory Listing
Modified Thu Jul 30 23:57:19 2009 UTC (10 years ago) by dpavlin
record and display log changes by mac addresses


Revision 71 - Directory Listing
Modified Thu Jul 30 22:55:08 2009 UTC (10 years ago) by dpavlin
much better output for /proc/$pid/status


Revision 70 - Directory Listing
Modified Thu Jul 30 22:44:55 2009 UTC (10 years ago) by dpavlin
implement forker for static file serving and interface to kill/report them


Revision 69 - Directory Listing
Modified Thu Jul 30 22:44:21 2009 UTC (10 years ago) by dpavlin
use absolute directory


Revision 68 - Directory Listing
Modified Thu Jul 30 22:43:48 2009 UTC (10 years ago) by dpavlin
fix glob


Revision 67 - Directory Listing
Modified Thu Jul 30 21:31:30 2009 UTC (10 years ago) by dpavlin
implemented correct start/stop logic (which now works!)
and pushed debug state into $server::debug and file 
conf/debug for shared state between servers


Revision 66 - Directory Listing
Modified Thu Jul 30 20:15:39 2009 UTC (10 years ago) by dpavlin
turn httpd server into real process manager which starts other components


Revision 65 - Directory Listing
Modified Thu Jul 30 17:07:48 2009 UTC (10 years ago) by dpavlin
correct static file serving and implement progress bar


Revision 64 - Directory Listing
Modified Thu Jul 30 16:26:54 2009 UTC (10 years ago) by dpavlin
show server ip and netmask


Revision 63 - Directory Listing
Modified Thu Jul 30 16:16:18 2009 UTC (10 years ago) by dpavlin
create pre IP configuration for pxelinux


Revision 62 - Directory Listing
Modified Thu Jul 30 16:15:40 2009 UTC (10 years ago) by dpavlin
use correct private IEEE mac


Revision 61 - Directory Listing
Modified Thu Jul 30 15:47:23 2009 UTC (10 years ago) by dpavlin
fix output of generated screenrc


Revision 60 - Directory Listing
Modified Thu Jul 30 15:23:29 2009 UTC (10 years ago) by dpavlin
more url examples


Revision 59 - Directory Listing
Modified Thu Jul 30 15:23:16 2009 UTC (10 years ago) by dpavlin
listen to 0.0.0.0


Revision 57 - Directory Listing
Modified Thu Jul 30 14:16:59 2009 UTC (10 years ago) by dpavlin
handle our own children, start kvm


Revision 56 - Directory Listing
Modified Thu Jul 30 14:16:13 2009 UTC (10 years ago) by dpavlin
start kvm with exec in xterm to see monitor output


Revision 54 - Directory Listing
Modified Thu Jul 30 12:28:49 2009 UTC (10 years ago) by dpavlin
start kvm with vde2


Revision 53 - Directory Listing
Modified Thu Jul 30 12:10:53 2009 UTC (10 years ago) by dpavlin
start/stop screen with servers from web interface


Revision 52 - Directory Listing
Modified Thu Jul 30 11:47:16 2009 UTC (10 years ago) by dpavlin
create pxelinux.cfg if it doesn't exist


Revision 50 - Directory Listing
Modified Thu Jul 30 00:08:38 2009 UTC (10 years ago) by dpavlin
test

Revision 49 - Directory Listing
Modified Thu Jul 30 00:08:21 2009 UTC (10 years ago) by dpavlin
replacement for bin/start-split.sh


Revision 48 - Directory Listing
Modified Thu Jul 30 00:07:57 2009 UTC (10 years ago) by dpavlin
fix package name


Revision 47 - Directory Listing
Modified Wed Jul 29 23:03:00 2009 UTC (10 years ago) by dpavlin
create $server::base_dir


Revision 46 - Directory Listing
Modified Wed Jul 29 22:25:42 2009 UTC (10 years ago) by dpavlin
fix booting, added tftp transport for kernel and initrd


Revision 45 - Directory Listing
Modified Wed Jul 29 22:04:58 2009 UTC (10 years ago) by dpavlin
dump all other peaces in, first configuration which can again boot
(wrong image, that is :-)


Revision 44 - Directory Listing
Modified Wed Jul 29 20:55:44 2009 UTC (10 years ago) by dpavlin
cleanup dhcpd server


Revision 43 - Directory Listing
Modified Wed Jul 29 19:57:07 2009 UTC (10 years ago) by dpavlin
turn debug on/off


Revision 42 - Directory Listing
Modified Wed Jul 29 17:42:48 2009 UTC (10 years ago) by dpavlin
simple httpd server


Revision 27 - Directory Listing
Modified Wed Jul 29 00:46:29 2009 UTC (10 years ago) by dpavlin
really implement DHCP protocol, so this server now has correct name :-)


Revision 25 - Directory Listing
Added Wed Jul 29 00:01:38 2009 UTC (10 years ago) by dpavlin
import upstream Net::DHCP for modification


  ViewVC Help
Powered by ViewVC 1.1.26