File: iscsiadm_path.patch

package info (click to toggle)
nova 2012.1.1-18
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 18,900 kB
  • sloc: python: 102,511; sql: 3,318; sh: 2,488; xml: 1,131; makefile: 146
file content (11 lines) | stat: -rw-r--r-- 521 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
Index: nova/nova/rootwrap/volume.py
===================================================================
--- nova.orig/nova/rootwrap/volume.py	2012-07-11 08:40:49.000000000 +0200
+++ nova/nova/rootwrap/volume.py	2012-07-11 08:41:49.000000000 +0200
@@ -41,5 +41,5 @@
 
     # nova/volume/driver.py: 'iscsiadm', '-m', 'discovery', '-t',...
     # nova/volume/driver.py: 'iscsiadm', '-m', 'node', '-T', ...
-    filters.CommandFilter("/sbin/iscsiadm", "root"),
+    filters.CommandFilter("/usr/bin/iscsiadm", "root"),
     ]