Commit c7b27e9e authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix incomplete mac address export to hooks

This patch completes the change introduced in r566 (trunk) and r568
(branch-1.2).

Reviewed-by: imsnah
parent 53e4e875
......@@ -2878,7 +2878,7 @@ class LUCreateInstance(LogicalUnit):
os_type=self.op.os_type,
memory=self.op.mem_size,
vcpus=self.op.vcpus,
nics=[(self.inst_ip, self.op.bridge)],
nics=[(self.inst_ip, self.op.bridge, self.op.mac)],
))
nl = ([self.sstore.GetMasterNode(), self.op.pnode] +
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment