Skip to content

Commit

Permalink
Fix onevm stop operation
Browse files Browse the repository at this point in the history
  • Loading branch information
lgrawet committed Mar 8, 2017
1 parent d72504e commit 04cf208
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ The first step to create an iSCSI datastore is to set up a template file for it.
#### Optionnal configuration attributes
* **BASE_IQN** `[iqn]` The base IQN for V7000 iSCSI target. The default value is iqn.1986-03.com.ibm
* **NO_ISCSI** `[hostname]` Lists of hosts (separated by spaces) for which no iscsiadm login or logout is performed. Defaults to $HOSTNAME.
* **THIN_PROVISION** `[1|0]` Activate thin-provisioned volumes. The default value is 1.
* **SNAPSHOT** `[1 | 0]` Use snapshots or clone for non-persistent images. The default value is 1.
* **SNAPSHOT_RSIZE** `[%]` *(mkvdisk -rsize option)* Use with SNAPSHOT=1 parameter. Defines how much physical space is initially allocated to the thin-provisioned volume for non persistent image. The default value is 0 %.
Expand Down
6 changes: 5 additions & 1 deletion datastore/v7000/v7000.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -------------------------------------------------------------------------- #
# Copyright 2014, Laurent Grawet <dev@grawet.be> #
# Copyright 2014-2017, Laurent Grawet <dev@grawet.be> #
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may #
# not use this file except in compliance with the License. You may obtain #
Expand All @@ -23,6 +23,10 @@ MGMT="v7000-master.localdomain"
# Default IQN path
BASE_IQN="iqn.1986-03.com.ibm"

# Lists of hosts (separated by spaces) for which no iscsiadm login or logout
# is performed.
NO_ISCSI="$HOSTNAME"

# Default values
IO_GROUP="io_grp0"
MDISK_GROUP="mdiskgrp0"
Expand Down

0 comments on commit 04cf208

Please sign in to comment.