diff --git a/htools/hspace.hs b/htools/hspace.hs index 0ec82dccf6ddd55adaadd44532f29ecb2355786b..730584a54288d927eb97a8e41c530d229938b2b6 100644 --- a/htools/hspace.hs +++ b/htools/hspace.hs @@ -224,6 +224,7 @@ main = do printKeys $ map (\(a, fn) -> ("SPEC_" ++ a, fn ispec)) specData printKeys [ ("SPEC_RQN", printf "%d" req_nodes) ] + printKeys [ ("SPEC_DISK_TEMPLATE", dtToString disk_template) ] let num_instances = length $ Container.elems il diff --git a/man/hspace.rst b/man/hspace.rst index 22514254d56cb44b6116aa5d013e3e9c327a4b05..e4a31e4ad43fa46ba88f09e9ca2501a0aead48e1 100644 --- a/man/hspace.rst +++ b/man/hspace.rst @@ -56,9 +56,9 @@ output (e.g. -p, -v) will output the additional information on stderr The following keys are available in the output of the script (all prefixed with *HTS_*): -SPEC_MEM, SPEC_DSK, SPEC_CPU, SPEC_RQN +SPEC_MEM, SPEC_DSK, SPEC_CPU, SPEC_RQN, SPEC_DISK_TEMPLATE These represent the specifications of the instance model used for - allocation (the memory, disk, cpu, requested nodes). + allocation (the memory, disk, cpu, requested nodes, disk template). CLUSTER_MEM, CLUSTER_DSK, CLUSTER_CPU, CLUSTER_NODES These represent the total memory, disk, CPU count and total nodes in