diff --git a/generate_autoscale_json.sh b/generate_autoscale_json.sh index 0b751dc..1a98282 100755 --- a/generate_autoscale_json.sh +++ b/generate_autoscale_json.sh @@ -89,7 +89,7 @@ temp_autoscale=$TEMP/autoscale.json.$(date +%s) --lock-file $INSTALLDIR/scalelib.lock \ --log-config $INSTALLDIR/logging.conf \ --disable-default-resources \ - --default-resource '{"select": {}, "name": "ncpus", "value": "node.pcpu_count"}' \ + --default-resource '{"select": {}, "name": "ncpus", "value": "node.vcpu_count"}' \ --default-resource '{"select": {}, "name": "ngpus", "value": "node.gpu_count"}' \ --default-resource '{"select": {}, "name": "disk", "value": "size::20g"}' \ --default-resource '{"select": {}, "name": "host", "value": "node.hostname"}' \ @@ -102,4 +102,4 @@ temp_autoscale=$TEMP/autoscale.json.$(date +%s) > $temp_autoscale && mv $temp_autoscale $INSTALLDIR/autoscale.json ) || (rm -f $temp_autoscale.json; exit 1) echo testing that we can connect to CycleCloud... -azpbs connect && echo success! || (echo Please check the arguments passed in and try again && exit 1) \ No newline at end of file +azpbs connect && echo success! || (echo Please check the arguments passed in and try again && exit 1)