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/temperator | 1 + 1 file changed, 1 insertion(+) (limited to 'retiolum/hosts/temperator') diff --git a/retiolum/hosts/temperator b/retiolum/hosts/temperator index d441e758..230fd17b 100644 --- a/retiolum/hosts/temperator +++ b/retiolum/hosts/temperator @@ -1,5 +1,6 @@ Subnet = 10.7.7.200 Subnet = 42:0b56:87fb:b3ab:677f:1158:bfa0:b937/128 +Subnet = 42.93.117.146/32 -----BEGIN RSA PUBLIC KEY----- MIIBCgKCAQEArV5wUD4DqM0RoqL47aPb4EcK8Fi7s+PaFwSqVYibMvjeh/zbRUqa GQzEWa9ZR9dIzc0YNQKLOSKsiJNpdEwsWT5kUIUQq/YpFAQjcb/vEFbfZwesG08U -- cgit v1.2.3