--- lib/PXElator/ssh.pm 2009/08/24 18:07:19 283 +++ lib/PXElator/ssh.pm 2009/08/27 18:57:46 312 @@ -1,12 +1,15 @@ package ssh; use Net::OpenSSH; +use English; my $id = 2; sub ethernet_bridge_to { my $host = shift; + die "you need to run this as root\n" unless $UID == 0; + warn "# reset local IP address"; system "ifconfig virtual 172.16.10.$id";