[OpenIndiana-discuss] setting autofs-props/environment variable
    Udo Grabowski (IMK) 
    udo.grabowski at kit.edu
       
    Mon Aug  8 16:03:58 UTC 2016
    
    
  
Hi,
does anyone know how to set more than one environment variable
with sharectl autofs-props/environment ?
Tried several variants (all one-liners):
sharectl set -p environment=
    ...               "ENV1=VAL1 ENV2=VAL2"    autofs
    ...               "ENV1=VAL1\nENV2=VAL2"   autofs
    ...               "ENV1=VAL1:ENV2=VAL2"    autofs
    ...               "ENV1=VAL1^MENV2=VAL2"   autofs
where ^M is a literal CR, which was accepted, but gave funny
output on svcprop and didn't exactly do what I wanted...
The autofs manpage only says:
      AUTOMOUNTD_ENV=<name>=<value>
          Environment variables. Each  environment  variable-value
          pairing  must be on its own line. You can specify multi-
          ple such pairings. There  are  no  environment  variable
          settings supplied. For example: AUTOMOUNTD_ENV=DAY=TUES
But no hint in sharectl how to accomplish that multi-liner.
Any ideas ?
-- 
Dr.Udo Grabowski   Inst.f.Meteorology & Climate Research IMK-ASF-SAT
http://www.imk-asf.kit.edu/english/sat.php
KIT - Karlsruhe Institute of Technology           http://www.kit.edu
Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026
    
    
More information about the openindiana-discuss
mailing list