Fix the mode attribute of newly-created disks
authorIustin Pop <iustin@google.com>
Tue, 27 Jan 2009 15:41:26 +0000 (15:41 +0000)
committerIustin Pop <iustin@google.com>
Tue, 27 Jan 2009 15:41:26 +0000 (15:41 +0000)
commit6ec66eae21cff0afdac3de02d20ff482895c43a2
tree5c48434331ddab9fa18a720483d79ccf3a5455ab
parent479636a38b85de7a458c8d05f5f0d4080e1b6024
Fix the mode attribute of newly-created disks

Currently, only the LUSetInstanceParams correctly sets up the mode
attribute via a manual operation. We remove this and instead do the
correct setting in the generic _GenerateDiskTemplate function, so that
we set the mode correctly for all disk creations.

Reviewed-by: ultrotter
lib/cmdlib.py