[node-patches] Change in ovirt-node[master]: Fixing compatability with fc21 imgcreate

tlitovsk at redhat.com tlitovsk at redhat.com
Sun Dec 28 19:47:25 UTC 2014


Anatoly Litovsky has uploaded a new change for review.

Change subject: Fixing compatability with fc21 imgcreate
......................................................................

Fixing compatability with fc21 imgcreate

Change-Id: Ie25e0827a51df92dec58c7d6f052663bcea9c297
Signed-off-by: Tolik Litovsky <tlitovsk at redhat.com>
---
M tools/edit-node
1 file changed, 3 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/15/36415/1

diff --git a/tools/edit-node b/tools/edit-node
old mode 100755
new mode 100644
index 0f7c4a5..79865d7
--- a/tools/edit-node
+++ b/tools/edit-node
@@ -154,7 +154,7 @@
         self.skip_minimize = False
         """Controls whether an image minimizing snapshot should be created."""
 
-        self._builder = os.getlogin()
+        self._builder = os.environ['LOGNAME']
         """The name of the Remix builder for _branding.
         Default = os.getlogin()"""
 
@@ -182,6 +182,8 @@
 
         self.ks = None
         """optional kickstart file as a recipe for editing the image"""
+        
+        self._ImageCreator__fstype = "ext4"
 
         self._ImageCreator__selinux_mountpoint = "/sys/fs/selinux"
         with open("/proc/self/mountinfo", "r") as f:


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie25e0827a51df92dec58c7d6f052663bcea9c297
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Anatoly Litovsky <tlitovsk at redhat.com>



More information about the node-patches mailing list