hadong has uploaded a new change for review. Change subject: iscsi boot:using self.ROOT_SIZE instead of hardcoding during create_hostvg() ......................................................................
iscsi boot:using self.ROOT_SIZE instead of hardcoding during create_hostvg() Change-Id: I2eae03c99742d60102c86482f5d67ab144a81da9 Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1008377 Signed-off-by: hadong <[email protected]> --- M src/ovirtnode/storage.py 1 file changed, 2 insertions(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/71/19271/1 diff --git a/src/ovirtnode/storage.py b/src/ovirtnode/storage.py index 9f417c5..635ded5 100644 --- a/src/ovirtnode/storage.py +++ b/src/ovirtnode/storage.py @@ -433,7 +433,8 @@ self.ROOTDRIVE = self.BOOTDRIVE elif self.ISCSIDRIVE == drv: parted_cmd = ("parted \"" + drv + "\" -s \"mkpart " + - "primary ext2 512M -1\"") + "primary ext2 " + str(self.ROOT_SIZE * 2) + + " -1\"") logger.debug(parted_cmd) _functions.system(parted_cmd) hostvgpart = "3" -- To view, visit http://gerrit.ovirt.org/19271 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I2eae03c99742d60102c86482f5d67ab144a81da9 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-node Gerrit-Branch: master Gerrit-Owner: hadong <[email protected]> _______________________________________________ node-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/node-patches
