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/also | 1 + 1 file changed, 1 insertion(+) (limited to 'retiolum/hosts/also') diff --git a/retiolum/hosts/also b/retiolum/hosts/also index 14ace98e..3cfc6cdc 100644 --- a/retiolum/hosts/also +++ b/retiolum/hosts/also @@ -1,6 +1,7 @@ Subnet = 42:9c90:a590:e88a:52cf:126f:b710:1a9c/128 Subnet = 10.7.7.23 Subnet = 23.0.0.1 +Subnet = 42.84.79.215/32 -----BEGIN RSA PUBLIC KEY----- MIIBCgKCAQEAsnF1eyd/R4qXMGo8UEZ98hnJK+6ZEKUubgdzEwAuSxK40B6nX8Ry Euy3v3s0ps/GMdE52gUbFB+bhM99hHiKW+7zcxnoMJ69a9yK6VG0Im+7ib0WTliZ -- cgit v1.2.3