Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
snf-ganeti
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
itminedu
snf-ganeti
Commits
79e82404
Commit
79e82404
authored
17 years ago
by
Manuel Franceschini
Browse files
Options
Downloads
Patches
Plain Diff
Add option to change default file_storage_dir
Author: manuel.franceschini Reviewed-by: iustinp
parent
871705db
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/gnt-cluster
+8
-1
8 additions, 1 deletion
scripts/gnt-cluster
with
8 additions
and
1 deletion
scripts/gnt-cluster
+
8
−
1
View file @
79e82404
...
...
@@ -44,7 +44,8 @@ def InitCluster(opts, args):
vg_name
=
opts
.
vg_name
,
mac_prefix
=
opts
.
mac_prefix
,
def_bridge
=
opts
.
def_bridge
,
master_netdev
=
opts
.
master_netdev
)
master_netdev
=
opts
.
master_netdev
,
file_storage_dir
=
opts
.
file_storage_dir
)
SubmitOpCode
(
op
)
return
0
...
...
@@ -315,6 +316,12 @@ commands = {
"
[%s]
"
%
constants
.
DEFAULT_BRIDGE
,
metavar
=
"
NETDEV
"
,
default
=
constants
.
DEFAULT_BRIDGE
,),
make_option
(
"
--file-storage-dir
"
,
dest
=
"
file_storage_dir
"
,
help
=
"
Specify the default directory (cluster-wide)
"
"
for storing the file-based disks [%s]
"
%
constants
.
DEFAULT_FILE_STORAGE_DIR
,
metavar
=
"
DIR
"
,
default
=
constants
.
DEFAULT_FILE_STORAGE_DIR
,),
],
"
[opts...] <cluster_name>
"
,
"
Initialises a new cluster configuration
"
),
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment