The two commands below generate exactly the same files in CDH 6.0.0 Release:
# solrctl instancedir --generate test_collection_config -schemalesss
# solrctl instancedir --generate test_collection_config
Is this expected?
How to generate config files with a schema file?
In CDH 6 there is no schema.xml file created by default rather the managed-schema file will be used as a schema.xml.
You can either download the instancedir and move the managed-schema to schema.xml or use a sample schema.xml from CDH5(SOLR 4.10.3) and modify the schema.xml(as there are some parameters which won't be accepted in CDH6(SOLR 7.x) so if you can make the required changes that will pick up the schema.xml which can be used in CDH6.