[node-patches] Change in ovirt-node[master]: progress_page:fix missed persist /etc/vconsole.conf and /etc...

hadong0720 at gmail.com hadong0720 at gmail.com
Thu Oct 10 05:42:23 UTC 2013


hadong has uploaded a new change for review.

Change subject: progress_page:fix missed persist /etc/vconsole.conf and /etc/sysconfig/keyboard
......................................................................

progress_page:fix missed persist /etc/vconsole.conf and /etc/sysconfig/keyboard

Change-Id: I67ee6eb7287db7a909469a9820508bd3e1835cb2
Signed-off-by: hadong <hadong0720 at gmail.com>
---
M src/ovirt/node/installer/core/progress_page.py
1 file changed, 4 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/54/20054/1

diff --git a/src/ovirt/node/installer/core/progress_page.py b/src/ovirt/node/installer/core/progress_page.py
index a8b30c4..b579c92 100644
--- a/src/ovirt/node/installer/core/progress_page.py
+++ b/src/ovirt/node/installer/core/progress_page.py
@@ -20,7 +20,7 @@
 # also available at http://www.gnu.org/copyleft/gpl.html.
 from ovirt.node import plugins, ui, utils
 from ovirt.node.config import defaults
-from ovirt.node.utils import console
+from ovirt.node.utils import console, fs
 import threading
 
 
@@ -279,3 +279,6 @@
 
         def commit(self):
             utils.system.Keyboard().set_layout(self.kbd_layout)
+            fs.Config().persist("/etc/vconsole.conf")
+            fs.Config().persist("/etc/sysconfig/keyboard")
+


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I67ee6eb7287db7a909469a9820508bd3e1835cb2
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: hadong <hadong0720 at gmail.com>



More information about the node-patches mailing list