Shahar Havivi has uploaded a new change for review. Change subject: core: do not save state VMs state on RunOnce ......................................................................
core: do not save state VMs state on RunOnce Change-Id: I440cf3fa898137732b7fafa0ca9a731e86fe7650 Signed-off-by: Shahar Havivi <shah...@redhat.com> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/96/27996/1 diff --git a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java index 22170c0..4c5c56d 100644 --- a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java +++ b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java @@ -654,7 +654,7 @@ } // if we attach floppy we don't need the sysprep - if (!StringUtils.isEmpty(getParameters().getFloppyPath())) { + if (!getVm().isRunOnce() && !StringUtils.isEmpty(getParameters().getFloppyPath())) { getVmStaticDAO().update(getVm().getStaticData()); } // get what cpu flags should be passed to vdsm according to cluster -- To view, visit http://gerrit.ovirt.org/27996 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I440cf3fa898137732b7fafa0ca9a731e86fe7650 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Shahar Havivi <shav...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches