Closed ravishivt closed 7 years ago
I have two IP addresses on my "public_iface" interface. Commands like ip addr show {{ public_iface }} | grep "inet\b" | awk '{print $2}' | cut -d/ -f1 will grab both and will fail subsequent commands.
ip addr show {{ public_iface }} | grep "inet\b" | awk '{print $2}' | cut -d/ -f1
I have two IP addresses on my "public_iface" interface. Commands like
ip addr show {{ public_iface }} | grep "inet\b" | awk '{print $2}' | cut -d/ -f1
will grab both and will fail subsequent commands.