From 1dd9031b1e564ef9480106aaa73d59ae3c6e95eb Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 9 Nov 2011 22:11:06 +0100 Subject: //retiolum hosts: fillxx ipv4 for x in hosts/*; do myipv4=$(echo 42.$(for i in `seq 1 3`; do echo "ibase=16;`bin/fillxx xx|tr [a-f] [A-F]`" | bc; done)|tr \ .)/32; if ! grep -q '42\..*/32' $x; then sed -i '/BEGIN/s:.*:'"Subnet = $myipv4"'\n&:' $x ; fi; done --- retiolum/hosts/steve | 1 + 1 file changed, 1 insertion(+) (limited to 'retiolum/hosts/steve') diff --git a/retiolum/hosts/steve b/retiolum/hosts/steve index 59e26e21..494c914e 100644 --- a/retiolum/hosts/steve +++ b/retiolum/hosts/steve @@ -1,5 +1,6 @@ Subnet = 10.7.7.101 Subnet = 42:58a0:e7b1:506e:b09e:1b68:5149:c6e8/128 +Subnet = 42.145.33.57/32 -----BEGIN RSA PUBLIC KEY----- MIIBCgKCAQEA2mt6xByDU2eVsQhjG33vT18Byfxqq4TPOvbV8RAyx0RWeolXGWnx p+wKHVITCyL5JCYs7fUYQoDC900bQa/waWgcN8dHfiUmUPtiUjcc35UWaNTLkVGs -- cgit v1.2.3