our $debug = 1;
use server;
-our $url = "http://$server::ip:$port/";
+our $url = "http://$server::ip:$port";
use html;
print $client $ok,
html::table( 2,
- 'pid', $$,
- 'debug', qq|<a href=/our/debug/| . boolean::toggle($debug) . qq|>$debug</a>|,
- 'screen', qq|<a href=/screen>$screen</a>|,
- 'kvm', qq|<a href=/kvm>$kvm</a>|,
+ 'pid', html::tt( $$ ),
+ 'ip', html::tt( $server::ip ),
+ 'netmask', html::tt( $server::netmask ),
+ 'debug', qq|<a href=/our/debug/| . boolean::toggle($debug) . qq|>$debug</a>|,
+ 'screen', qq|<a href=/screen>$screen</a>|,
+ 'kvm', qq|<a href=/kvm>$kvm</a>|,
);
} elsif ( $path =~ m{^/our/(\w+)/(\S+)} ) {
warn "file $path ", -s $path;
my $url = $httpd::url;
-$url = "tftp://$server::ip/"; # fallback to tftp
-$url = "http://$server::ip/pxelator/";
+#$url = "tftp://$server::ip/"; # fallback to tftp
+#$url = "http://$server::ip/pxelator/";
my $squash = tftpd::path('debian-live/*squashfs');