- Timestamp:
- Jul 29, 2008, 1:35:57 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-base/files/usr/sbin/invirt-getconf
r771 r778 2 2 3 3 """ 4 invirt-getconf [-f FILE] KEY prints the configuration the option named KEY from 5 the invirt configuration file FILE. Keys are dot-separated paths into the YAML 4 invirt-getconf loads an invirt configuration file (either the original YAML 5 source or the faster-to-load JSON cache) and prints the configuration option 6 with the given name (key). Keys are dot-separated paths into the YAML 6 7 configuration tree. List indexes (0-based) are also treated as path 7 8 components. 8 9 9 10 (Due to this path language, certain restrictions are placed on the keys used in 10 the YAML configuration , e.g.they cannot contain dots.)11 the YAML configuration; e.g., they cannot contain dots.) 11 12 12 13 Examples: … … 58 59 '%s: index %s out of range' % (progress, component)) 59 60 print conf 60 except (invirt_exception, OSError), ex:61 except invirt_exception, ex: 61 62 print >> stderr, ex 62 63 return 1
Note: See TracChangeset
for help on using the changeset viewer.