@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        OsVersion osVersion = (OsVersion) o;
        return current.equals(osVersion.current) &&
               wanted.equals(osVersion.wanted);
    }
Returns a copy of this with wanted version set to given version
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/node/OsVersion.java