Displaying 2 results from an estimated 2 matches for "pubnet".
Did you mean:
subnet
2017 Dec 13
0
Some problemas working with network namespaces
Hi all,
I am trying to virtually connect two bridges on different network namespaces inside a CentOS KVM host. I have tried different configs, but this is the most closer than I can test:
ip netns add pubnet
ip netns exec pubnet ip link set dev lo up
ip netns exec pubnet ifup pubif2
ip link add dev vethpubif1 type veth peer name vethpubif2
ovs-vsctl add-port pubif1 vethpubif1
ip link set vethpubif2 netns pubnet
ip netns exec pubnet brctl addif pubif2 vethpubif2
ip link set dev vethpubif1 up
ip...
2012 Sep 10
3
How to remove last comma when iterating through hash in erb template
...g over it.
However, as you can see there will always be a final comma which breaks the
app that uses this config file. Does anyone know how I could remove the
final comma?
ipv4_bind_addresses = "<% routes.sort_by {|key, v| key}.each do |key, v|
-%><%= net %>.<%= v[''pubnet''] %>.1,<% end -%>"
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/DsCB3zXfHk0J.
To post to this group, send email to puppet-...