Sandro Bonazzola has uploaded a new change for review.

Change subject: packaging: setup: export MAC address in answer file
......................................................................

packaging: setup: export MAC address in answer file

Add the VM MAC address to the answer file, allowing
to have the same MAC address in vm.conf on additional
hosts.

Change-Id: I39839db55dfa7406f4ae0e24581352dae471dba4
Signed-off-by: Sandro Bonazzola <[email protected]>
---
M src/ovirt_hosted_engine_setup/constants.py
1 file changed, 5 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-hosted-engine-setup 
refs/changes/77/17877/1

diff --git a/src/ovirt_hosted_engine_setup/constants.py 
b/src/ovirt_hosted_engine_setup/constants.py
index 15ab284..50f30b3 100644
--- a/src/ovirt_hosted_engine_setup/constants.py
+++ b/src/ovirt_hosted_engine_setup/constants.py
@@ -377,7 +377,11 @@
     def VCPUS(self):
         return 'OVEHOSTED_VM/vmVCpus'
 
-    MAC_ADDR = 'OVEHOSTED_VM/vmMACAddr'
+    @ohostedattrs(
+        answerfile=True,
+    )
+    def MAC_ADDR(self):
+        return 'OVEHOSTED_VM/vmMACAddr'
 
     @ohostedattrs(
         answerfile=True,


-- 
To view, visit http://gerrit.ovirt.org/17877
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I39839db55dfa7406f4ae0e24581352dae471dba4
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-hosted-engine-setup
Gerrit-Branch: master
Gerrit-Owner: Sandro Bonazzola <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to