public OsVersion withCurrent(Optional<Version> version) {
        return new OsVersion(version, wanted);
    }
Returns a copy of this with current version set to given version
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/node/OsVersion.java