diff options
author | tv <tv@iiso> | 2011-11-09 22:11:06 +0100 |
---|---|---|
committer | tv <tv@iiso> | 2011-11-09 22:11:06 +0100 |
commit | 1dd9031b1e564ef9480106aaa73d59ae3c6e95eb (patch) | |
tree | afd43d3ac94ff3ff17fa7eabdab5638f472f7af8 /retiolum/hosts/alphalabs | |
parent | b2eb2545e9a51702ba0e34d628b3e82bd95540c0 (diff) |
//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
Diffstat (limited to 'retiolum/hosts/alphalabs')
-rw-r--r-- | retiolum/hosts/alphalabs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/retiolum/hosts/alphalabs b/retiolum/hosts/alphalabs index 4019dd19..4473a82a 100644 --- a/retiolum/hosts/alphalabs +++ b/retiolum/hosts/alphalabs @@ -1,6 +1,7 @@ Address = 10.9.0.10 Subnet = 10.7.7.10 Subnet = 42:0:0:0:0:0:0:a1fa/128 +Subnet = 42.107.201.8/32 -----BEGIN RSA PUBLIC KEY----- MIIBCgKCAQEAvUAbMmmOFn+4kOvJAvmi0R/XCQa1YBlkjUvC6Pmt0Q8gV1DodXjB DgwP8yhLcxaVy2Hk82aJvNTUrfMeB2sdt1RJHQiEPQkHthdp8Spm0Px4uTiMjmFB |