diff options
author | Zuul <zuul@review.openstack.org> | 2017-11-07 23:11:39 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-11-07 23:11:39 +0000 |
commit | b14e58c20eae478fe6594311aba66248afc41377 (patch) | |
tree | bfa3c6a2b59dc41b67956b4449e712e259ca7138 | |
parent | a3896fa8c46ccd1305b90864a5bb6120f7278c20 (diff) | |
parent | 4b6fe6668779ea60781f77b94d7d7c4bb9dbae5e (diff) | |
download | ironic-b14e58c20eae478fe6594311aba66248afc41377.tar.gz |
Merge "Miss node_id in devstack lib"
-rw-r--r-- | devstack/lib/ironic | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/devstack/lib/ironic b/devstack/lib/ironic index a756c83b1..b7a4ce413 100644 --- a/devstack/lib/ironic +++ b/devstack/lib/ironic @@ -1801,7 +1801,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. |