anchor.diff:          #! ${pkgs.runtimeShell} -e
   
           # Initialise the container side of the veth pair.
  -        if [ -n "$HOST_ADDRESS" ] || [ -n "$LOCAL_ADDRESS" ] || [ -n "$HOST_BRIDGE" ]; then
  -
  +        if [ -n "$HOST_ADDRESS" ]   || [ -n "$HOST_ADDRESS6" ]  ||
  +           [ -n "$LOCAL_ADDRESS" ]  || [ -n "$LOCAL_ADDRESS6" ] ||
  +           [ -n "$HOST_BRIDGE" ]; then
             ip link set host0 name eth0
             ip link set dev eth0 up
   
  
positive.code:           '';
      in
        ''
          if [ -n "$HOST_ADDRESS" ] || [ -n "$LOCAL_ADDRESS" ]; then
            if [ -z "$HOST_BRIDGE" ]; then
              ifaceHost=ve-$INSTANCE
              ip link set dev $ifaceHost up
  
negative.code:       # Clean up existing machined registration and interfaces.
        machinectl terminate "$INSTANCE" 2> /dev/null || true
  
        if [ -n "$HOST_ADDRESS" ]  || [ -n "$LOCAL_ADDRESS" ] ||
           [ -n "$HOST_ADDRESS6" ] || [ -n "$LOCAL_ADDRESS6" ]; then
          ip link del dev "ve-$INSTANCE" 2> /dev/null || true
          ip link del dev "vb-$INSTANCE" 2> /dev/null || true
        fi
  