summaryrefslogtreecommitdiff
path: root/devstack
diff options
context:
space:
mode:
Diffstat (limited to 'devstack')
-rw-r--r--devstack/lib/ironic3
1 files changed, 2 insertions, 1 deletions
diff --git a/devstack/lib/ironic b/devstack/lib/ironic
index bfc81e87b..e8bb33b09 100644
--- a/devstack/lib/ironic
+++ b/devstack/lib/ironic
@@ -1803,7 +1803,8 @@ function enroll_nodes {
# Setting root hint allows to install OS on such devices.
# 0x1af4 is VirtIO vendor device ID.
if [[ "$ironic_node_disk" -lt "4" && is_deployed_by_agent ]]; then
- $IRONIC_CMD node set --property root_device='{"vendor": "0x1af4"}'
+ $IRONIC_CMD node set $node_id --property \
+ root_device='{"vendor": "0x1af4"}'
fi
# In case we using portgroups, we should API version that support them.