I’m trying to script into a one-liner: # zonecfg -z zonename zonecfg:zonename > add device zonecfg:zonename:device> set match="/dev/zvol/rdsk/poolname/volpath” zonecfg:zonename:device> end
The following doesn’t work: # zonecfg -z zonename add device set match="/dev/zvol/rdsk/poolname/volpath” syntax error at 'set’ Variations using parentheses, square brackets, curly brackets, etc. also didn’t work. zonefcg(1M) and online resources have eluded me so far…they always stop short of showing how to set a complex value :argh: Any pro-tips? K. ------------------------------------------ illumos: illumos-discuss Permalink: https://illumos.topicbox.com/groups/discuss/Tacdbb0cc9e95c176-M3d28692d95fcca64eef13e61 Delivery options: https://illumos.topicbox.com/groups/discuss/subscription