From c7b27e9eb25c27ffca32d45013537f9b34246558 Mon Sep 17 00:00:00 2001 From: Iustin Pop <iustin@google.com> Date: Mon, 4 Feb 2008 14:28:15 +0000 Subject: [PATCH] Fix incomplete mac address export to hooks This patch completes the change introduced in r566 (trunk) and r568 (branch-1.2). Reviewed-by: imsnah --- lib/cmdlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cmdlib.py b/lib/cmdlib.py index 6318d45e5..97a8f5167 100644 --- a/lib/cmdlib.py +++ b/lib/cmdlib.py @@ -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] + -- GitLab